Skip to content
WJunction - Webmaster Forum

Tags and Category visible in Post

Status
Not open for further replies.

kaylog

Banned
Banned
843
2011
319
Hi

I would like to add something like this on my site: Download Teen Porn Clips, Movies & Pictures - TheTeenBay - TheTeenBay

Schowek02.jpg




I mean Category and Tags in post.

Anyone can help me with this?

PS. Site is NSFW+18
 

5 comments

this is the php code that will show them

PHP:
<?php echo "Category "; the_category(','); ?>

Tags

PHP:
<?php echo the_tags('&nbsp;Pornstar: ', ', ', ''); ?>
 
Thank you very much

Could you tell me how to change change colour for results(TAGS,Category) like I do in screen and how to fix this layout error( How expand space for text)

Schowek02.jpg
 
Last edited:
Hi ^_^

please take back up of any file you edit

to remove that space go to style.css and edit class "postinfo", change From width: 615px; to width: 720px;


for changing color try this

add this in the style.css


Code:
#pagewrapperfull .pagewrapper .midcontainerdiv .contentouter .postcontent .storycontent .postinfo a {color:#893BFF;}


it should be like this !

Code:
#pagewrapperfull .pagewrapper .midcontainerdiv .contentouter .postcontent .storycontent .[COLOR=#ff0000]postinfo[/COLOR]{clear:both;overflow:hidden;width:[COLOR=#ff0000]720px[/COLOR];padding-left:10px;padding-top:10px;padding-bottom:10px;}
#pagewrapperfull .pagewrapper .midcontainerdiv .contentouter .postcontent .storycontent .[COLOR=#ff0000]postinfo [/COLOR]a {color:#893BFF;}
 
Last edited:
output



add this on style.css

Code:
.postinfo{
    
    width:100% !important;
}
.postinfo strong{
    color:red !important;
}
.postinfo a{
    color:darkred !important;
}
 
Status
Not open for further replies.

About the author

kaylog
Banned · Joined
843
Messages
319
Reactions
63
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom