Home User profile
tagDiv Member
Blogger at Hiidee Media
hadharm
tagDiv Member

Pls I am unable to make social icons shows only on Administrator profiles. It shouldnot show on Author, Contributor and other level lower to Administrator. Pls help provide the code to use and where to add it.
Thanks.

hadharm
tagDiv Member

https://forum.tagdiv.com/topic/author-card-remove-website-link-or-no-follow-it/
the tutorial in the link above works for Author name and Author website field. But not for the Author description I am talking about.
The Author description field doesnot have any URL space but Authors are adding URL themselves with href tag. The added links now turn to be dofollow but I want it as nofollow or if you can provide code to completely deactivate link in Profile description.

hadharm
tagDiv Member

I will like to disable links in profile description and not on Author name even if the url is set by user when editing profile. Please help provide code to use and it placement.

hadharm
tagDiv Member

I am trying to make all links that show in author description nofollow. It seems the below code is returning two profile description. Pls help correct this.
$buffy .= '<div class="td-author-description">';
$buffy .= get_the_author_meta('description', $author_id);
$string = str_replace('href','rel="nofollow" target="_blank" href', $buffy);
echo $string;
$buffy .= '</div>';

hadharm
tagDiv Member

Now working two rbrace } was missing in previous codes.
Thanks.

hadharm
tagDiv Member

Still did not work. Mail sent.

hadharm
tagDiv Member

1.I used the below code to hide Author website and social icons. But I want only the Social icons to show on Administrator profile.
.td-author-social, .td-author-url{
display:none;

See here ==> http://prntscr.com/d2kssf

2. I will like to deactivate links on profile e.g. the facebook link and twitter link in the screenshot above. I don’t want it to show even if user add it in profile settings.

hadharm
tagDiv Member

The code in my Theme Panel is the one below. But it didn’t work for mobile theme custom css.
.td-post-content h2,
.td-post-content h3,
.td-post-content h4,
.td-post-content h5,
.td-post-content h6 {
background-color: #008CBA; /* Blue */
border: none;
border-radius: 0;
color: white;
margin: 3px 3px 3px 3px;
text-align: left;
text-decoration: bold;
display: block;
font-family: helvetica;
font-size: 18px;
}

hadharm
tagDiv Member

On this post https://goo.gl/CzxXcC I made use of only one h2 in the post content. The text with h2 is Top Reasons Why Blog Images are Essential and Can Improve SEO.
The web version shows outcome of the customized h2 settings that I added but the mobile version didn’t.

hadharm
tagDiv Member

It seems you didn’t get what I am saying. On Theme Panel I changed the look of h2 to h6 (font color, size, add icon and others). I made use of a custom css with
.td-post-content h2,
.td-post-content h3,
.td-post-content h4,
.td-post-content h5,
.td-post-content h6

but When I used same thing as above in mobile custom editor it didn’t work. But I can see the mobile has h2 to h6 configurations.

So how can I customize the h2 to h6???

hadharm
tagDiv Member

Ohhhhh I have to remove <?php comment_date() ?> as well to get rid of both the date and time. Thanks.
Pls I will like to customise the H2 to H6 in post area of the mobile plugin. I want to use CSS but i don’t know the class of h2 to h6 on mobile

hadharm
tagDiv Member

Thanks @bogdan-b, I removed the code as the image explained but the dates still appear on posts.

hadharm
tagDiv Member

okay thanks for the tips

hadharm
tagDiv Member

Works fine. Thanks.

I will like to extend post area and reduce distance to the left and right sidebar. Look here ==> http://prntscr.com/ct4ifu

hadharm
tagDiv Member

Thanks your screenshot already solved my problem.

  • This reply was modified 9 years by hadharm.
hadharm
tagDiv Member

After adding the code in my header ad. The ads is showing on all pages on the website. How can I make the header ads not to display on homepage. I don’t like it displaying on homepage.

hadharm
tagDiv Member

I want to deactivate top ads showing below navigation menu on homepage only but it should display on post page.

hadharm
tagDiv Member

Okay no problem

hadharm
tagDiv Member

Succesfully solved thanks.

hadharm
tagDiv Member

Please I want to deactivate top ads showing below navigation menu on homepage only.
Can I also edit big grid 7 to 5 or 6 small box of articles on only a single line and remove the big 3 at the tops. See here ==> http://prntscr.com/crkcuk

hadharm
tagDiv Member

Thanks @bodgan-b, Still same error. Check how i edited code here in website case ==> http://prntscr.com/cqkzvz

Please try this from your end and let me know what I am mising

hadharm
tagDiv Member

I tried this but it returned some error on website. Check here ===> http://prntscr.com/cqifwz

hadharm
tagDiv Member

Yes @snaxzer I don’t minify CSS with any plugin except the one done in my CloudFlare account as explained in your article. Though I was using W3 Total Cache before but I have uninstalled it to follow your tutorial.
What could be happening???

hadharm
tagDiv Member

@snaxzer thanks this works for me too but there are little issues.
1. My Search box at the top right stopped displaying.
2. MY sidebar stopped being sticky
3. The most post at bottom right did not showup on post pages anymore.
When I disable rocket loader in Cloudfare all the features work but very low pagespeed.

View demo here: https://goo.gl/N9FkD5

Viewing 25 posts - 151 through 175 (of 184 total)