Forum Replies Created

Viewing 15 posts - 2,296 through 2,310 (of 2,964 total)
  • Author
    Posts
  • in reply to: Images on previews of Custom Post Types not showing #2261
    Steve
    Keymaster

    Great. Closing ticket.

    in reply to: Images on previews of Custom Post Types not showing #2258
    Steve
    Keymaster

    @tuckerjoenz

    A few things:
    1) There was a typo in the doc. Try this: echo '<img src="' . wp_get_attachment_url($image) . '"/>';
    2) Unfortunately, you just can’t blindly copy the docs, because your code will probably be different. $image_ids = get_post_meta($post_id, 'my_image');, means get the post meta field ‘my_image’, however, you don’t have a field called ‘my_image”, yours is called ‘story_media’. You will need to change that as well.

    in reply to: Images on previews of Custom Post Types not showing #2256
    Steve
    Keymaster

    Your file code is being shown on a Post Type, but you are using get_option to pull the data, $settings = get_option('my_settings'); get_option is used for settings.

    In the tutorial you referenced, it shows how to get data for a post type using get_post_meta: $image_ids = get_post_meta($post_id, 'my_image');

    in reply to: SQL DB Error on 4.0 Beta 4 #2254
    Steve
    Keymaster

    @kristiano– We were able to reproduce. Working on a fix. Thanks!

    in reply to: custom post meta data not saving #2252
    Steve
    Keymaster

    Please zip up your plugin and email to [email protected] We will take a look.

    in reply to: Is there a Settings Save hook? #2249
    Steve
    Keymaster
    in reply to: custom post meta data not saving #2247
    Steve
    Keymaster

    This is saving for me. Did you create other meta boxes in this page?

    in reply to: custom post meta data not saving #2243
    Steve
    Keymaster

    @jmayhak– You have an error in your code.

    ‘description’ => ”, only has an opening quote. Either remove this parameter or close the quote.

    A good rule of thumb is to run wp_debug when you are developing to help spot errors.

    in reply to: custom post meta data not saving #2240
    Steve
    Keymaster

    @jmayhak– Please post your meta-box code, or zip it up and email to [email protected]

    in reply to: Listing CPT posts in a metabox using Piklist #2229
    Steve
    Keymaster

    Awesome! BTW, This code was pulled from the Piklist Demos > Advanced Tab > Content Section.

    The built-in demos has lots of cool example code.

    in reply to: Listing CPT posts in a metabox using Piklist #2226
    Steve
    Keymaster

    You can use something similar to this code to display the Post Titles in a dropdown:

    ,'choices' => piklist(
                  get_posts(
                     array(
                      'post_type' => 'post'
                      ,'orderby' => 'post_date'
                     )
                     ,'objects'
                   )
                   ,array(
                     'ID'
                     ,'post_title'
                   )
                )
    

    This will save the Post ID, which you can then use to get the post.

    in reply to: Google Authenticator #2225
    Steve
    Keymaster

    There’s seems to be a conflict with APC Object Caching and Piklist. To temporarily fix:
    -Click on Performance
    -Scroll down to “Object Cache”
    -Choose “Disk” from the dropdown and save.

    You should be able to use Piklist now.

    Thank you again for helping us find this bug.

    in reply to: Google Authenticator #2222
    Steve
    Keymaster

    Got email! And I was able to reproduce the issue. Thank you so much. We’ll work on a fix.

    in reply to: Google Authenticator #2220
    Steve
    Keymaster

    Thank you for helping out. I can’t reproduce the bug with W3 Total Cache. Would you mind exporting your Total Cache settings and emailing to us:
    -Under PERFORMANCE. Click on “General Settings”
    -Scroll all the way down to the bottom of page.
    -Under Export configuration, click “Download”
    -Email the file to: [email protected]

    As for the Joomla question, I don’t fully understand. If you can post screenshots that would probably help.

    in reply to: Google Authenticator #2218
    Steve
    Keymaster

    Are you comfortable deactivating plugins until you find the conflict?

Viewing 15 posts - 2,296 through 2,310 (of 2,964 total)