Forum Replies Created

Viewing 7 replies - 31 through 37 (of 37 total)
  • I also have the same problem. I reported it to the plugin page earlier today as well.

    Same issue with “Rel Nofollow Checkbox” plugin – I’ve been looking for a simple alternative with not much luck.

    Thread Starter zoecorkhill

    (@zoecorkhill)

    As I suggested the problem is that your plugin is looking for tablets – this isn’t necessary.

    By commenting out your tweakjp_is_mobile_or_tablet() function and replacing it with the jetpack_check_mobile() one, it only attempts to apply the filter when on a mobile device, rather than on mobile or tablet.

    // On Mobile? Let's add the Featured Image
    function tweakjp_maybe_add_filter() {
    	if ( jetpack_check_mobile() )
    		add_filter( 'the_title', 'tweakjp_minileven_featuredimage' );
    }
    add_action( 'wp_head', 'tweakjp_maybe_add_filter' );
    Thread Starter zoecorkhill

    (@zoecorkhill)

    That code changed worked slightly – any post where the title has been truncated by the_titlesmall function displays correctly, but any where it is displaying the full title (as it is less than my character limit) has this:

    <h2><a href="https://mamageek.co.uk/2013/01/19/a-snowy-outing/" title="Permalink to A snowy outing" rel="bookmark">A snowy outing<img width="5472" ...<="" a=""></a></h2>
    <a href="https://mamageek.co.uk/2013/01/19/a-snowy-outing/" title="Permalink to A snowy outing" rel="bookmark">
    							 		</a>

    This pushes the rest of the content for that post down – image at https://d.pr/i/USus

    Thread Starter zoecorkhill

    (@zoecorkhill)

    I need to use my custom title function for the site to display correctly. The Lazy Load plugin has no effect on it either way, I installed it this morning after I already disabled your plugin (I reenabled the plugin to post the above code)

    My main confusion is why it’s even attempting to do anything on the iPad when it doesn’t use the mobile theme??

    Thread Starter zoecorkhill

    (@zoecorkhill)

    Should it even be outputting anything on the iPad anyway?

    The iPad uses the full theme, not the mobile theme as on my iPhone.

    Thread Starter zoecorkhill

    (@zoecorkhill)

    No problem..

    Where it should usually be:

    <h2><a href="https://mamageek.co.uk/2013/01/22/handmade-with-love-by-mrs-miss-c/" title="Permalink to Handmade with love by Mrs & Miss C!" rel="bookmark">Handmade with love by Mrs &...</a></h2>

    It was spitting out:

    <h2><a href="https://mamageek.co.uk/2013/01/22/handmade-with-love-by-mrs-miss-c/" title="Permalink to Handmade with love by Mrs & Miss C!<img width=" 5472"="" height="3648" src="https://mamageek.co.uk/wp-content/plugins/lazy-load/images/1x1.trans.gif" data-lazy-src="https://mamageek.co.uk/wp-content/uploads/2013/01/SAM_0584.jpg" class="attachment-post-thumbnail wp-post-image" alt="Handmade by Mrs & Miss C"><noscript><img width="5472" height="3648" src="https://mamageek.co.uk/wp-content/uploads/2013/01/SAM_0584.jpg" class="attachment-post-thumbnail wp-post-image" alt="Handmade by Mrs & Miss C" /></noscript>" rel="bookmark">Handmade with love by Mrs &...</a></h2>

    Which gives a visual of " rel="bookmark">Handmade with love by Mrs &... as the link text instead of just Handmade with love by Mrs &...

    The code generating that is:

    <h2><a href="<?php esc_url( the_permalink() ); ?>" title="Permalink to <?php the_title(); ?>" rel="bookmark"><?php the_titlesmall('', '...', true, '33'); ?></a></h2>

    I am having the same problem at https://mamageek.co.uk

    I’ve tried adding the add_theme_support( 'custom-header' ) to both my parent and child themes alternately, with no success – the same goes for custom backgrounds. I also tried overriding the code by uploading files in the admin and nothing worked.

    It’s worth noting that I wasn’t having any luck getting this feature working when I was running a child theme of twentyeleven as well.

    I would love for my mobile site to not be quite as bland as it is – has anyone had any luck getting this working?

Viewing 7 replies - 31 through 37 (of 37 total)