Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@bicho44– This is definitely a bug. You’re going to need to do this old school:
function my_remove_postimagediv() { remove_meta_box('postimagediv', 'barcos', 'side'); } add_action('do_meta_boxes', 'my_remove_postimagediv');More info at the WordPress codex.
SteveKeymasterI thought you wanted different partials, but if you only have one, that’s fine too. If you ever want to add different partials this code is easy to expand.
Your partials can go in the root directory of your theme or in a folder if you like. You would just need to tell
get_template_partto look in a folder.ROOT:
get_template_part('custom-div', $name);
DIRECTORY NAMED PARTIALS:get_template_part('partials/custom-div', $name);Here’s a good tutorial on get_template_part().
Does that make sense.
SteveKeymaster@jamespate– Welcome to the Piklist community!
Thanks for letting us know about the urls. They are working now.
The next version of Piklist will allow for front end forms. Probably a few weeks away.
SteveKeymasterThe
stepparameter belongs within the attributes array. Let us know if that works.
SteveKeymaster@skytsunami– We are trying to get the next version ready for testing. It may be a few weeks before we can get to this bug.
I added you to our beta tester list, so you will receive the latest version when it’s ready for testing.
SteveKeymasterFeel free to zip up your child theme and email to [email protected] if you want us to take a look. Always happy to help.
SteveKeymasterI just read your post on Stack Exchange, and I think I have a better understanding of what you want.
It would be best to use the WordPress function get_template_part() to bring in your divs. This is how I would do it.
YOUR PIKLIST PARTS FILE (my-fields.php)
This is where your users select the Divs they want and can reorder them.piklist('field', array( 'type' => 'select' ,'field' => 'my_divs' ,'label' => __('Select a Div') ,'add_more' => true ,'choices' => array( 'div_one' => 'Div One' ,'div_two' => 'Div Two' ,'div_three' => 'Div Three' ) ));YOUR THEME FILE (PAGE TEMPLATE)
Your page template should look something like this:ID, 'my_divs'); // Get the field data foreach ($my_divs as $my_div => $name) // loop through each add_more { get_template_part('custom-div', $name); // display the template } ?>Then you would name your divs (template parts) this, to match the dropdown values:
custom-div-div_one.php custom-div-div_two.php custom-div-div_three.phpDoes that make sense?
SteveKeymaster@poxtron– I can’t reproduce. Any chance you can be into your database and email us your options?
-Open DB
-in your wp_options table find the option: piklist_wp_helpers
-Copy the entire option (it will look ugly since it’s a serialized array).
-Place it in a text file and email to [email protected]Thanks!
SteveKeymaster@ivisionstudios– Welcome to the Piklist Community!
Sorry, that you haven’t slept yet. We really should put a warning on Piklist that it can become addictive. 😉
As for Pricing:
The Piklist Framework (Piklist) will allows be free and GPL. We will probably offer paid support options in the future.We are planning on releasing commercial plugins. Fields and Forms will probably be the first.
We really, really, really, want you to use Piklist on as many projects as you like… no strings attached. We love hearing about them.
SteveKeymaster@giec– Welcome to the Piklist Community!
Piklist fields have very minimal markup. If you want to add a div, you can just wrap your field in a div in your my-fields.php file:
< div class="my-class"> 'text' ,'field' => 'field_one' ,'label' => 'First Field' )); ?> < /div>
July 21, 2015 at 12:57 pm in reply to: Pre use question on using Piklist for a custom admin frontend #4043
SteveKeymasterIt’s not ready for prime-time yet. You can still use the version at WordPress.org to get comfortable with Piklist.
July 21, 2015 at 9:39 am in reply to: Pre use question on using Piklist for a custom admin frontend #4040
SteveKeymasterThis reply has been marked as private.
SteveKeymaster@poxtron– v1.8.2 is now available at WordPress.org and it has your fixes. Thank you so much!
Would you mind telling the world that WP Helpers saved you lots of time, but leaving a 5 Star review at WordPress.org? It really helps keep the project going.
SteveKeymasterGreat!
I just pushed v1.8.2 to WordPress.org, which has your fix in it.
It also has this fix >. If you need it, then I suggest you delete the wp-helpers folder via FTP, and then add it via the plugin installer as new. This way you won’t lose all your settings.
Thanks again for the help!
Closing ticket.
-
AuthorPosts