arpit arpit
asked 5 years ago

Hi,
I am running a website
http://yourcoupon.info/

I have four doubts(little too much πŸ™‚ ) :
1.) How to add footer with pagination in wallpress theme ?
2.) In Left side bar , how to add tab view for comments as well as recent post?
3.) In post detail page See example , one extra space for right sidebar is there( which is empty), how to remove that sidebar?
4.) Is there any way to create separated category page? (Which will have all category items in thumbnail view …

Thanks a lot for a efficient theme.

1 Answers
DominicStaff
answered 5 years ago

Hi,
1: To add the pagination in wallpress theme, you can remove the following code in the functions.php file: Line 93.
wp_enqueue_script( 'wallpress_jquery_infinite', get_template_directory_uri().'/assets/js/jquery.infinitescroll.min.js', array( 'jquery' ) );

You can use the wp-pagenavi plugin. After activate the plugin, you can open the home.php file then add the following code under line 40
<?php wp_pagenavi(); ?>

Finally, add the following code to the style.css file:

.wp-pagenavi {
    padding-bottom: 100px;
    padding-top: 50px;
    text-align: center;
}

2: I have checked your site and see that you added the Recent comment widget to the left sidebar

3: If you want to remove the right sidebar, you can add the following code to the style.css file:

.single-post #sidebar-secondary {
    display: none;
}
.single-post #content { 
    max-width: 100%;
}

4: At the moment, our theme does not support to create separated category page as you want.
Hope this helps !

Powered by DW Question & Answer Pro