Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Okay, got it! In the Main Index Template (index.php) file, there’s the following lign:

    <?php athemes_content_nav( 'nav-below' ); ?>

    Replace it by the WP-PageNavi code (<?php wp_pagenavi(); ?>).

    There you go, that should work!

    There’s a lign with the word “nav” somewhere in it in the file Main Index Template (index.php). It comes after <?php endwhile; ?> and before <?php else : ?>. I already changed it, so I can’t find back the original lign, sorry. Anyway, replace that whole lign with the WP-PageNavi code. Hope this helped!

    Thread Starter BibiFayruz

    (@bibifayruz)

    Nevermind, I solved it! For those who are interested in the answer:

    I put the code from NaviPage ( which is <?php wp_pagenavi(); ?> ) in the footer and deleted the code below from archives and singlepost:

    <?php athemes_content_nav( ‘nav-below’ ); ?>

    Thread Starter BibiFayruz

    (@bibifayruz)

    Awww you’re awesome, thanks!! Will try that out!

    xo

    Thread Starter BibiFayruz

    (@bibifayruz)

    Ok, seems like I’m the only genius around here as I solved it on my own. Thanks anyway. Salam 3laykum.

    Thread Starter BibiFayruz

    (@bibifayruz)

    So, this is what I get as HTML when I type CTRL-U on my testing page about the logo:

    <a id="logo" href="http://localhost/wordpress/wordpress/"><img alt="Site logo" src="http://localhost/wordpress/wordpress/wp-content/uploads/2013/09/HashtagHijabLogoPS2-e1379176691897.png"></a>
    
        </div>

    And this is what’s in my header.php:

    <header id="site-header" class="container">           
    
    	        <?php get_logo_and_search(); ?>
    
    			<?php get_menu(); ?>
    
    	      </header>

    And my CSS-part of the “logo and search”:

    #logo-and-search{*zoom:1;}#logo-and-search:before,#logo-and-search:after{display:table;content:"";line-height:0;}
    #logo-and-search:after{clear:both;}
    #logo-and-search:before,#logo-and-search:after{display:table;content:"";line-height:0;}
    #logo-and-search:after{clear:both;}
    #logo{display:block;float:left;*zoom:1;margin:0 0 35px 0;}#logo:before,#logo:after{display:table;content:"";line-height:0;}
    #logo:after{clear:both;}
    #logo:before,#logo:after{display:table;content:"";line-height:0;}
    #logo:after{clear:both;}
    @media (max-width:979px) and (min-width:768px){#logo{float:none;text-align:center;margin:60px 0 45px 0;}}

    [Moderator Note: No bumping. If it’s that urgent, consider hiring someone.]

Viewing 6 replies - 1 through 6 (of 6 total)