Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-25-2014, 01:30 AM   #1
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
How do I make this Nofollow (PHP) ?

How can I make the following code into a nofollow link?

<?php if($themes_reviews_tag_1 == "0") { echo(get_the_term_list(get_the_ID(), $gp_settings['reviews_tag_1_tax'], '<li><strong>'.$themes_reviews_tag_1_singular_name s.':</strong> ', ', ', '</li>')); } ?>

Thanks
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:45 AM   #2
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Nice_Nick View Post
How can I make the following code into a nofollow link?

<?php if($themes_reviews_tag_1 == "0") { echo(get_the_term_list(get_the_ID(), $gp_settings['reviews_tag_1_tax'], '<li><strong>'.$themes_reviews_tag_1_singular_name s.':</strong> ', ', ', '</li>')); } ?>

Thanks
I dont see a tag,therefore you need to find where is a tag located to be able to add it,
this looks like it pulls list or just one link from database.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:47 AM   #3
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,006
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:53 AM   #4
superman1
Registered User
 
Industry Role:
Join Date: Dec 2013
Posts: 49
@Nice_Nick
edited: Looks this is WP you can adjust the function get_the_term_list and put the nofollow there in. If you need to be able to switch add to the function get_the_term_list a paramter on end like: nofollow = false

add a if to put the nofollow in case is set to true

when you call it and want the nofllow put:
(get_the_term_list(get_the_ID(), $gp_settings['reviews_tag_1_tax'], '<li><strong>'.$themes_reviews_tag_1_singular_nam e s.':</strong> ', ', ', '</li>', true)

Last edited by superman1; 04-25-2014 at 02:03 AM..
superman1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 02:00 AM   #5
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
this is how you make it nofollow
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 02:11 AM   #6
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Quote:
Originally Posted by freecartoonporn View Post
Ok, thanks. I will try that Superman.

I am not trying to nofollow a post, it's the inbuilt tags within the theme.
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 03:03 AM   #7
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by Nice_Nick View Post
Ok, thanks. I will try that Superman.

I am not trying to nofollow a post, it's the inbuilt tags within the theme.
buy the theme so you will get chance to remove footer links. i guess thats what you are looking for .
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 03:16 AM   #8
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Quote:
Originally Posted by freecartoonporn View Post
buy the theme so you will get chance to remove footer links. i guess thats what you are looking for .
Well you guess wrong.



I purchased the theme.

I also had a reply from support who gave me a script that I just added to the theme options which made the tags nofollow.

I didn't know you could do it like that.
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 03:43 AM   #9
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by Nice_Nick View Post
Well you guess wrong.



I purchased the theme.

I also had a reply from support who gave me a script that I just added to the theme options which made the tags nofollow.

I didn't know you could do it like that.
i didnt know it either, thanks for new info.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 03:47 AM   #10
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Quote:
Originally Posted by freecartoonporn View Post
i didnt know it either, thanks for new info.
This is the code. It works well.

Code:
<script>
jQuery(document).ready(function(){
jQuery("#review-tags-list li a").attr('rel', 'nofollow');
});
</script>
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 12:00 PM   #11
Mikex
Confirmed User
 
Mikex's Avatar
 
Industry Role:
Join Date: Jul 2012
Posts: 384
Maybe this can do the job, also.

If "get_the_term_list" is called only here, or if "get_the_term_list"
should return nofollow links in all cases you can edit this

file: /wp-includes/category-template.php
open it and locate "get_the_term_list" function and where you see "a" tag and "href" you should add rel="nofollow" to it.
__________________
Web Development Services
Mike
ICQ: 497305290
skype: roglacha

Email: mike at quantox dot com
Company site: Quantox.com
Mikex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:19 PM   #12
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,006
Don't mind nexcom28 - he's fucking retarded.
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:23 PM   #13
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
fucking loser
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:38 PM   #14
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,006
Ya got me once again. Enjoy your failure.
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:42 PM   #15
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Hey Harmon, question for you.

You say in your user title GFY's biggest testicles. Does that mean you have a small dick or is is because your balls are so big because you never get sex?

Thanks in advance.
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:44 PM   #16
420
cuck
 
420's Avatar
 
Industry Role:
Join Date: Mar 2003
Posts: 11,571
420 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-25-2014, 01:45 PM   #17
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,006
Umadbro? You study everything about me?

Nigga u gay as fuck.
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.