Thanks Andrei that fixed the issue.
So trying to use WP Ajaxify Comments. I enabled the setting pagination for comments in the discussion settings. Then inspected the comment page element and it showed as .comment-pagination.
But the older comments does not seem to load by Ajax.
http://2c6.950.myftpupload.com/sharon-mcdowell-may-3-1957-july-15-2014/
http://2c6.950.myftpupload.com/sharon-mcdowell-may-3-1957-july-15-2014/comment-page-10/#comments
So to follow up my question I am guessing the load more comments would just use Ajax.
https://www.tipsandtricks-hq.com/ajax-comment-loading-plugin-fixed-6096
So it would add Ajax comments pagination.
Okay so in this case, I just want a expander to show on comments. So by default the last ten comments would show.
Looked in both the comments.php inside of the theme folder and the comments.php within /includes/wp_booster
So 10 of the most recent comments would display by default then the remaining comments would load from click on More Comments button.
Thanks in advance.
This also works as well
.td-category {
display:none;
}
Thanks that is a good starting point.
Okay sorry for not being clear. Is there a way to hide the category tags on posts?
I setup all of the required ad spots in AdRotate and then added the shortcodes for those into the ad spots of the theme. But none of the test ads are showing, any ideas?
Which template files would need to be edited for adding in additional leaderboard spots?
Then used this in the custom css to add the sub nav menu items to show only on the mobile menu but the sub nav menu to be hidden on mobile.
@media screen and (max-width: 767px) {
.nav_sub {
display:none !important;
}
}
@media screen and (min-width: 768px) {
.menu-item-104301 {
display: none;
}
}
@media screen and (min-width: 768px) {
.menu-item-104302 {
display: none;
}
}
@media screen and (min-width: 768px) {
.menu-item-104303 {
display: none;
}
}
@media screen and (min-width: 768px) {
.menu-item-104304 {
display: none;
}
}
@media screen and (min-width: 768px) {
.menu-item-104305 {
display: none;
}
}
Okay so setup those ads in AdRotate, should I be able to just add the AdRotate shortcode and add it into the correct ads section in the theme?
[adrotate banner=”1″]
How would I go about creating additional leaderboard spots in the theme?
Would using say Advanced Ads work to render the DoubleClick Ads code?
Thanks!
Thanks Chris!
So in Post Settings > Featured Images?
Your welcome, hopefully it will be of use for other customers.
I just meant that as an example. I only just need to add a Next Page on .home so that it will go to /page/2/
Cheers
Luke
This fixed it
Header.php
<div class=”td-container”>
<?php wp_nav_menu( array( ‘theme_location’ => ‘sub-menu’, ‘container_class’ => ‘nav_sub’ ) ); ?>
</div>
Functions.php
// Add Sub Menu
function register_my_menu() {
register_nav_menu(‘sub-menu’,__( ‘Sub Menu’ ));
}
add_action( ‘init’, ‘register_my_menu’ );
Custom CSS
.td-container .nav_sub ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #fff;
}
.td-container .nav_sub li {
float: left;
margin-left: 0;
}
.td-container .nav_sub li a {
display: inline-block;
color: #666;
text-align: center;
padding: 13px 13px;
text-decoration: none;
}
.td-container .nav_sub li a:hover {
background-color: #d9d9d9;
}
Is there a way to add back in Next Page pagination on the home page. So it links to /page/2/ ?
Solved it.
.td-classic-twitter {
display:none!important
}
Thanks!
Thanks Bogdan.
Thanks for the info.