Forum Replies Created
-
AuthorPosts
-
SteveKeymasterI just updated the documentation to run on `init` not `admin_init`. You can see the changes here >
SteveKeymasterNice! Let us know if you have any other questions.
SteveKeymaster@astroneo– That’s a version of uploading images in the Demo add-on. Creating a real media field is on our list of todo’s.
SteveKeymasterIt’s a little bit of work, but you can definitely do it. Here are a few examples of how to dynamically populate Piklist fields:
Notice they all use standard WordPress functions to grab the appropriate data, and then Piklist displays them.
This post explains how to list all available shortcodes in WordPress. You will have to grab all the shortcodes, filter for the ones you want and then place them into a Piklist field.
SteveKeymaster@moshemo– You can include anything you want in a dropdown. Use the standard dropdown code here, and change the options to your shortcode code.
`
‘[layerslider id=”1″]’ => ‘LayerSlider 1’
`
SteveKeymaster@astroneo– We really don’t recommend this. However, if you are set on it, this post explains >
SteveKeymaster@moshemo– Our demo add-on serves two purposes: demo features, and test features. If it’s working in the Demo then it should work. Please triple check your code.
SteveKeymasterWhen you do an Export from the TOOLS menu, you are only exporting: posts, pages, comments, custom fields, terms, navigation menus and custom posts. WordPress does not an easy way to export settings, and neither does Piklist.
SteveKeymaster@astroneo– The Demo add-on that comes with Piklist, is just a standard plugin. Nothing special. Please make sure you follow the same format and the Demo: Folder structure and Plugin Header.
SteveKeymaster@astroneo– I’m not sure I fully understand the question. You want to include Piklist in your custom plugin?
SteveKeymaster@r.cespa– I’m not sure I understand the issue, but if you’re having a problem with the count, this code might help: http://piklist.com/support/topic/taxonomies-custom-post-statuses-and-wp_tag_cloud/#post-672
SteveKeymasterWe may decide to use Github in the future, but not now. If you want to contribute to Piklist, here’s how.
SteveKeymaster@alex poslavsky– They are used by forms, and we need to do a better job of only loading them when needed.
You can remove them from the frontend with this code. Just place in functions.php:
add_action('wp_enqueue_scripts', 'remove_piklist_from_frontend', 99);
function remove_piklist_from_frontend()
{
if(!is_admin())
{
wp_dequeue_style('jquery-ui-core');
wp_dequeue_script('piklist-plugin');
}
} -
AuthorPosts