Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
firetoss
tagDiv Member

Thanks Andrei that fixed the issue.

firetoss
tagDiv Member

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

firetoss
tagDiv Member

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.

firetoss
tagDiv Member

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.

firetoss
tagDiv Member

This also works as well

.td-category {
display:none;
}

firetoss
tagDiv Member

Thanks that is a good starting point.

firetoss
tagDiv Member

Okay sorry for not being clear. Is there a way to hide the category tags on posts?

firetoss
tagDiv Member

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?

firetoss
tagDiv Member

Which template files would need to be edited for adding in additional leaderboard spots?

firetoss
tagDiv Member

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;
}
}

firetoss
tagDiv Member

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?

firetoss
tagDiv Member

Would using say Advanced Ads work to render the DoubleClick Ads code?

https://wordpress.org/plugins/advanced-ads/

firetoss
tagDiv Member

Thanks!

firetoss
tagDiv Member
firetoss
tagDiv Member

Thanks Chris!

firetoss
tagDiv Member

So in Post Settings > Featured Images?

firetoss
tagDiv Member

Your welcome, hopefully it will be of use for other customers.

firetoss
tagDiv Member

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

firetoss
tagDiv Member

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;
}

firetoss
tagDiv Member

Only this.

Next Page

So very basic. But just on the homepage.

firetoss
tagDiv Member

Is there a way to add back in Next Page pagination on the home page. So it links to /page/2/ ?

firetoss
tagDiv Member

Solved it.

.td-classic-twitter {
display:none!important
}

firetoss
tagDiv Member

Thanks!

firetoss
tagDiv Member

Thanks Bogdan.

firetoss
tagDiv Member

Thanks for the info.

Viewing 25 posts - 1 through 25 (of 32 total)