GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do I make this Nofollow (PHP) ? (https://gfy.com/showthread.php?t=1139139)

Nice_Nick 04-25-2014 01:30 AM

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

Klen 04-25-2014 01:45 AM

Quote:

Originally Posted by Nice_Nick (Post 20061990)
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.

Harmon 04-25-2014 01:47 AM

http://i.imgur.com/dH1puip.jpg

superman1 04-25-2014 01:53 AM

@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)

freecartoonporn 04-25-2014 02:00 AM

this is how you make it nofollow

Nice_Nick 04-25-2014 02:11 AM

Quote:

Originally Posted by freecartoonporn (Post 20062026)

Ok, thanks. I will try that Superman.

I am not trying to nofollow a post, it's the inbuilt tags within the theme.

freecartoonporn 04-25-2014 03:03 AM

Quote:

Originally Posted by Nice_Nick (Post 20062033)
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 .

Nice_Nick 04-25-2014 03:16 AM

Quote:

Originally Posted by freecartoonporn (Post 20062068)
buy the theme so you will get chance to remove footer links. i guess thats what you are looking for .

Well you guess wrong.

http://i.imgur.com/rEQK9dk.png?1

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.

freecartoonporn 04-25-2014 03:43 AM

Quote:

Originally Posted by Nice_Nick (Post 20062080)
Well you guess wrong.

http://i.imgur.com/rEQK9dk.png?1

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.

Nice_Nick 04-25-2014 03:47 AM

Quote:

Originally Posted by freecartoonporn (Post 20062100)
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>


Mikex 04-25-2014 12:00 PM

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.

Harmon 04-25-2014 01:19 PM

Don't mind nexcom28 - he's fucking retarded.

Nice_Nick 04-25-2014 01:23 PM

:1orglaugh:1orglaugh:1orglaugh fucking loser

Harmon 04-25-2014 01:38 PM

Ya got me once again. Enjoy your failure. :)

Nice_Nick 04-25-2014 01:42 PM

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.

420 04-25-2014 01:44 PM

http://i.imgur.com/mTU0hCD.jpg

Harmon 04-25-2014 01:45 PM

Umadbro? You study everything about me?

Nigga u gay as fuck.


All times are GMT -7. The time now is 05:06 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123