WordPress.org

Ready to get started?Download WordPress

Forums

PHP advice - loading image broken (2 posts)

  1. stsw
    Member
    Posted 1 year ago #

    Hello

    I'm using this free theme http://www.dessign.net/gridthemeresponsive/

    When scrolling down the content the loading image seems to be broken in Safari / Chrome.

    In FireFox it has no image and and just text saying loading.

    This code is in the main.index page

    <?php
    
            ob_start();
    	next_posts_link('<img src="' . get_bloginfo('stylesheet_directory') . '/images/loading-button.png" />');
    	$buffer = ob_get_contents();
    	ob_end_clean();
    	if(!empty($buffer)) echo $buffer;
            ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

    Could anyone help me remove the loading image and just have text.

    I've tried but I keep breaking it.

    Thanks in advance

    J

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a commercially supported theme, you need to seek support from the theme's developers.

Topic Closed

This topic has been closed to new replies.

About this Topic