WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Trouble with Featured Image for posts on mobile

[Resolved] Trouble with Featured Image for posts on mobile

  • jschwabish
    Member

    @jschwabish

    (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/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    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

    jschwabish
    Member

    @jschwabish

    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

    Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    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?

    jschwabish
    Member

    @jschwabish

    Yes! This appears to have fixed it! Awesome.

    Thanks again.

    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?)

    Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    I assume I should not do

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

    timeastwood
    Member

    @timeastwood

    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?

    Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    @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.

    cristi4no.v4lli
    Member

    @cristi4nov4lli

    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…

    Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    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' );
    cristi4no.v4lli
    Member

    @cristi4nov4lli

    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/%5D

    Plugin Author Jeremy Herve
    Jetpack Mechanic

    @jeherve

    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.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Trouble with Featured Image for posts on mobile’ is closed to new replies.