Forum Replies Created
-
AuthorPosts
-
SteveKeymasterI never get tired of hearing that. 😉
SteveKeymaster@ameeker– If you add this to your theme, does this work?
$theme_options = get_option(‘piklist-theme’);
$text_field = $theme_options[‘text’];echo ‘This is the image url: ‘ . $text_field;
SteveKeymaster@ameeker– I added the echo statement so you can see a very basic way of using the settings.
The Tutorial shows how to register settings, create fields and retrieve fields. What it doesn’t show it how you would use them.
Can you give me an example of one of your settings, and how you plan on using it in your theme?
SteveKeymasterJust to verify, are you using;
$theme_options = get_option(‘YOUR-SETTING-NAME’);
$text_field = $theme_options[‘YOUR-FIELD-NAME’];
SteveKeymaster@Daniel Ménard– Sorry, we rather not announce until it’s ready. But it promises to add a ton more functionality.
SteveKeymaster@ameeker– Good to hear from you. You can easily go either route with Piklist: Settings Page or Widgets. If you want your client to run the website from one place, a Settings Page seems like the best place.
SETTINGS PAGE
Wherever possible Piklist uses the standard WordPress functions, and that’s no different with Settings Pages. Once you create your Settings, you can retrieve them on the frontend with the get_option function. Piklist stores all options in a settings array, and get_option pulls the data. Then you grab the individual setting from that array. This tutorial should help, especially the last paragraph.WIDGETS
Piklist Widgets are super easy. If you look in the /add-ons/piklist-demos/parts/widgets/ folder in the Piklist plugin, you’ll see four files for two widgets. You can open each to see how they work. This tutorial should help explain it.Also, in Piklist Settings in your WP admin you can turn on the Piklist Demos add-on to see how everything works. These demo widgets and settings will be activated.
Let us know if you have any more questions.
SteveKeymaster@Daniel Ménard– Thanks for posting. We’re working on a major update right now which should fix this issue.
SteveKeymaster@sschat– This is really quite awesome. We’ll look into bringing this into Piklist in the future.
SteveKeymasterPiklist now has a uninstall.php file… yes, it should have been there since the beginning. 😉
October 16, 2012 at 3:52 pm in reply to: Suggestion: Be able to add metaboxes field to a specific page #298
SteveKeymaster@James Mc– Thanks for the code! Works great. You don’t even have to specify POST TYPE, just ID. Kevin and I will discuss get back to you.
As for UI, we have some fun things in store, which will help this workflow a bit.
@kattagami– Page Templates really change the workflow. We’ll definitely get back to you both on this.
SteveKeymaster@kattagami– That’s a great idea!
SteveKeymaster@jmcphail– We are currently rewriting relationships, and changing/adding tables. I suggest you hold off until the update which should be released later this week, since things may change.
October 15, 2012 at 9:27 am in reply to: Suggestion: Visibility of the add/remove button for the "Add More" bloc #284
SteveKeymasterAgreed… add-more needs a bit more work. These drawings are great! Will get this done in the next few weeks.
October 15, 2012 at 9:23 am in reply to: Suggestion: Be able to add metaboxes field to a specific page #283
SteveKeymaster@kattagami– This is a great idea, and I just added it to our list of todo’s. We’re thinking using the ID instead of the SLUG, since Slugs can change.
-
AuthorPosts