Forum Replies Created

Viewing 15 posts - 391 through 405 (of 2,964 total)
  • Author
    Posts
  • in reply to: Front-end Template for Plugin #8712
    Steve
    Keymaster

    If you are going to use a theme you purchased, it is always recommended to never modify the original files. Create a child theme instead >

    Or if you want, you can write a WordPress plugin for Piklist >

    in reply to: Front-end Template for Plugin #8710
    Steve
    Keymaster

    @charitableh– Welcome to the Piklist community!

    The folder structure is defined by where you want to write your Piklist code:
    In a plugin: user plugin structure
    In your theme: use theme structure

    The easiest is probably the theme.

    Since Piklist does everything the WordPress way, any tutorials you can find on the web that discusses how to display custom fields in your theme will work. Here’s one that looks good >

    Hope that helped

    in reply to: Insert data from other source #8709
    Steve
    Keymaster

    I’m still not 100% clear what you are trying to do, but in the Piklist demos we have an example of displaying a user’s profile in a front end form.

    Hopefully, this helps >

    in reply to: Insert data from other source #8704
    Steve
    Keymaster

    And where is the editor field displaying? On the user page? Post page?

    in reply to: Can't make settings page #8701
    Steve
    Keymaster

    your code is working for me. See screenshot

    Attachments:
    You must be logged in to view attached files.
    in reply to: Save field to custom DB Table #8700
    Steve
    Keymaster

    scopes work, but we haven’t implemented defining the custom table structure yet.

    in reply to: Settings page with Tabs #8698
    Steve
    Keymaster

    The built-in demos have tabbed settings You can pull the code from there.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Insert data from other source #8697
    Steve
    Keymaster

    Is the data from EDD already saved to the db? If so, where?

    in reply to: Retrieving Data from a Group #8694
    Steve
    Keymaster

    copy and paste the array here: https://gist.github.com/

    give me the url when done.

    in reply to: Retrieving Data from a Group #8690
    Steve
    Keymaster

    Hi Anthony– The data is field groups is saved to an array.

    Try typing this after $theme_options = get_option('my_theme_settings'); :

    piklist::pre($theme_options);

    You should see the array. Now you need to loop through it like any other WordPress/PHP array.

    Hope that helps.

    in reply to: Cannot create multiple custom post type #8688
    Steve
    Keymaster

    @bimbaim– Usually when a WordPress filter doesn’t show all the content it’s because the original $post_types wasn’t passed in the function, like this:

    function your_function($post_types)

    in reply to: File upload field saves ID instead of URL when reordering #8684
    Steve
    Keymaster

    @riotxoaPlease try out latest beta and let us know if that fixes your issue.

    in reply to: Can't make settings page #8683
    Steve
    Keymaster

    The settings need to match.

    Ordering submenus is a little advanced and not within Piklist. You can manipulate the $submenu global >

    in reply to: URL Field #8680
    Steve
    Keymaster

    You can do this with Piklist and wrapping your fields in a standard PHP If-then-else conditional.

    -First create another field: HTML field with the value being the URL field. So, if the URL is being saved as post_meta, the value of your HTML field will be:

    'value' => get_post_meta($id, $key, $single)

    -check if the url field is set
    -if YES: show HTML field, hide URL field
    -if NO: show URL field, hide HTML field

    This allows you to have full control how the link, button or whatever you want should look and be styled.

    Because Piklist is a full-featured code-based framework, there is usually a solution to most issues. 😉

    in reply to: Can't make settings page #8679
    Steve
    Keymaster

    Instead of options.php, did you mean options-general.php ?

Viewing 15 posts - 391 through 405 (of 2,964 total)