WordPress.org

Forums

Jetpack Mobile Theme Featured images
[resolved] Trouble with Featured Image for posts on mobile (13 posts)

  1. jschwabish
    Member
    Posted 1 year ago #

    (I wasn't sure if my question under the "Post featured images on posts, too?" topic would show up because it's 'resolved', so I'm reposting this question.)

    I'm having trouble getting featured images to show up on Posts. I've activated both the basic Jetpack Mobile option and the Jetpack Mobile Theme Featured Images plug-in. I then selected 'Yes' to the "Show featured images on front page and archive pages" option in the Featured Images plug-in, but I'm still only getting the featured image on the home page and not for specific posts.

    My site is http://helpmeviz.com/ and I'm using the Gridster-Lite theme.

    Thanks very much!

    http://wordpress.org/plugins/jetpack-mobile-theme-featured-images/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you try to install this version of the plugin, and let me know if it helps?
    http://downloads.wordpress.org/plugin/jetpack-mobile-theme-featured-images.1.4.zip

  3. jschwabish
    Member
    Posted 1 year ago #

    Hi Jeremy,

    Thanks for getting back to me. This sort of worked. I now get the featured image on the Post page, which is great, but there are now *two* images for each post on the home page. (Again, my site is http://www.helpmeviz.com and I'm using the Gridster-Lite theme).

    Thanks again

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you try the following:

    1. Go to this page: http://helpmeviz.com/wp-admin/options.php
    2. Look for this option: wp_mobile_featured_images
    3. Make sure it is set to 0
    4. Save your changes

    Does it help?

  5. jschwabish
    Member
    Posted 1 year ago #

    Yes! This appears to have fixed it! Awesome.

    Thanks again.

  6. pmkelly
    Member
    Posted 1 year ago #

    Ah, glad I found this. Same problem, and the solution above does the trick. Thanks! (Although now my WP dashboard is telling me to update the plugin, which I assume I should not do?)

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I assume I should not do

    Correct. I'll need to fix the plugin and release an update to work around the issue.

  8. timeastwood
    Member
    Posted 9 months ago #

    Hi Jeremy - Is there any chance of getting this fixed for WordPress.com as well? Or, is there anyway I can update the wp_mobile_featured_images code on my WordPress.com site?

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    @timeastwood On WordPress.com , you can customize the look of the Mobile Theme by going to Appearance > Mobile in your dashboard. You do not have access to any other options.

  10. cristi4no.v4lli
    Member
    Posted 9 months ago #

    Now displaying the featured image on the homepage is a basic setting of jetpack. still not able to see featured images on single posts... there's not a line of code i could simply past in the page.php or in the content.php file, or whichever it fit, and solve it forever? doesn't looks like impossible, I'm just scared to break something...

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Now displaying the featured image on the homepage is a basic setting of jetpack.

    That's correct. We've added this setting to Jetpack 3.2. You can now delete my plugin.

    still not able to see featured images on single posts... there's not a line of code i could simply past in the page.php or in the content.php file, or whichever it fit, and solve it forever?

    It is possible. Try to add the following to a functionality plugin:

    function jeherve_minileven_thumbnails_single() {
        if ( is_home() || is_search() || is_archive() || is_single() ) {
            return true;
        }
    }
    add_filter( 'minileven_show_featured_images', 'jeherve_minileven_thumbnails_single' );
  12. cristi4no.v4lli
    Member
    Posted 9 months ago #

    this works wonderfully!!! thanks

    do you think should be possible to set a function to pick not only the featured images, but also other kind of contents not showing on mobile?

    [e.g., this post: mobile theme picks the image, not the gallery, http://missionlocal.org/2014/11/good-morning-mission-morning-routines/

  13. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    This gallery is handled by your theme, not by WordPress itself or a plugin. As a result, whenever you switch to another theme (like Jetpack's Mobile Theme), you lose all things that were added by your desktop theme.

    To solve this issue, I'd suggest moving the gallery functions from your theme into a separate plugin, that will be loaded regardless of the theme you're using.
    If you don't feel comfortable doing that yourself, you'll need to get in touch with the theme author about it.

    I hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack Mobile Theme Featured images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic