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 Mark Forums Read
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 09-21-2017, 12:30 PM   #1
jscott
jscizzle
 
jscott's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 22,810
Editing specific wordpress category pages

Anyone know how do you edit wordpress category pages?

For each category pages i want to have section on top to add adverts or texts.

I tried with "enhanced category pages" plugin but that doesnt work and seems unsupported now.

thx
__________________
“If you think tough men are dangerous, wait until you see what weak men are capable of.”
—Jordan B. Peterson

Listen to Pomp tell why is Bitcoin important
jscott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-21-2017, 11:52 PM   #2
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
I think you need custom pages for this.
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2017, 04:08 AM   #3
Venum
Confirmed User
 
Venum's Avatar
 
Industry Role:
Join Date: Nov 2014
Posts: 181
Quote:
Originally Posted by jscott View Post
Anyone know how do you edit wordpress category pages?

For each category pages i want to have section on top to add adverts or texts.

thx
So every category category specified ad, or same add on all category pages?

Depends on theme, usually it is category.php file.
Venum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2017, 05:02 AM   #4
jscott
jscizzle
 
jscott's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 22,810
no no, i want each category to have small section up top for descriptions of each category, possibly some small adverts in there too, each category diff text, diff adverts.

This plugin works perfectly on my default wordpress theme sites, but does not work with my custom themes
__________________
“If you think tough men are dangerous, wait until you see what weak men are capable of.”
—Jordan B. Peterson

Listen to Pomp tell why is Bitcoin important
jscott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2017, 06:16 AM   #5
catmaster
Registered User
 
Industry Role:
Join Date: May 2011
Posts: 2

WordPress will search for specific files in your custom WordPress Theme directory to create your category archive pages.
The hierarchy is fairly simple. For instance, suppose the slug of the Category is news and the Category ID is 6. The Template Hierarchy specifies that WordPress will use the first Template file it finds in your Custom Theme's directory from the following list:
  1. category-slug.php
  2. category-ID.php
  3. category.php
  4. archive.php
  5. index.php

That is, if you do not have a category-slug.php (lets say category-news.php), WordPress will check for a category-ID.php (like category-6.php), and so on in your custom Wordpress Theme Directory.

If you need some assistance for any kind of custom modifications please let me know by PM
catmaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-22-2017, 08:45 AM   #6
jscott
jscizzle
 
jscott's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 22,810
catmaster thanks a lot, this is the kind of stuff that i'd actually prefer custom mods for, hitting you up on PM lil later today

thank you!
__________________
“If you think tough men are dangerous, wait until you see what weak men are capable of.”
—Jordan B. Peterson

Listen to Pomp tell why is Bitcoin important
jscott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2017, 12:53 AM   #7
just_beginner
Confirmed User
 
Industry Role:
Join Date: Sep 2004
Posts: 469
Quote:
Originally Posted by jscott View Post
catmaster thanks a lot, this is the kind of stuff that i'd actually prefer custom mods for, hitting you up on PM lil later today

thank you!
More info here https://codex.wordpress.org/Category_Templates
just_beginner is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2017, 05:45 AM   #8
magneto664
God Bless You
 
magneto664's Avatar
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow, $cotland
Posts: 1,467
Quote:
Originally Posted by jscott View Post
For each category pages i want to have section on top to add adverts or texts.
The best way is a create a widget areas on this space so you can use it after via adverts plugins or simply code from your widget page. or maybe your theme have already widget space on categories.
__________________
magneto664 📧 gmail.com
Adult Backlinks 💘Best Website Stats 💘 Best CDN for Adult Content
My Fav: 👍Chaturbate 👍 Stripchat 👍 Dateprofits 👍 AdultFriendFinder
magneto664 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-25-2017, 11:30 AM   #9
BettyBoob1
Confirmed User
 
BettyBoob1's Avatar
 
Industry Role:
Join Date: Mar 2015
Location: London
Posts: 45
For the descriptions of each category to show on page I went into my category.php file and added this...

<?php
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>

It worked for me, I just had to play around with where I placed it in the php file. I haven't tried adding any ads but it might be possible if you go to (edit category) for each category you have and add the text you want and ad code into the description field.
__________________
Nude Cam & Porn List
BettyBoob1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-25-2017, 12:06 PM   #10
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,141
Quote:
Originally Posted by BettyBoob1 View Post
For the descriptions of each category to show on page I went into my category.php file and added this...

<?php
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>

It worked for me, I just had to play around with where I placed it in the php file. I haven't tried adding any ads but it might be possible if you go to (edit category) for each category you have and add the text you want and ad code into the description field.
His theme didn't have category.php lol, but I got it.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2017, 10:23 AM   #11
Smart Fred
Confirmed User
 
Smart Fred's Avatar
 
Industry Role:
Join Date: Mar 2008
Location: France
Posts: 308
Quote:
Originally Posted by jscott View Post
no no, i want each category to have small section up top for descriptions of each category, possibly some small adverts in there too, each category diff text, diff adverts.

This plugin works perfectly on my default wordpress theme sites, but does not work with my custom themes
Supposing your categories are pornstars. Do you mean you want to add their bio, vitals, links to Twitter, to their official sites and so on.

If yes, PM me your email, I will show you what I was able to do for my sites and how.
__________________
Stop doing what you like and start doing what brings you money!
Smart Fred is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-07-2017, 07:29 PM   #12
jscott
jscizzle
 
jscott's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 22,810
yo SmartFred would love to see what you have. Use icq? 130321510 or can pm me if you have time.
Thx man
__________________
“If you think tough men are dangerous, wait until you see what weak men are capable of.”
—Jordan B. Peterson

Listen to Pomp tell why is Bitcoin important
jscott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-08-2017, 03:15 AM   #13
Smart Fred
Confirmed User
 
Smart Fred's Avatar
 
Industry Role:
Join Date: Mar 2008
Location: France
Posts: 308
Quote:
Originally Posted by jscott View Post
yo SmartFred would love to see what you have. Use icq? 130321510 or can pm me if you have time.
Thx man
I got
"jscott has exceeded their stored private messages quota and cannot accept further messages until they clear some space."
when trying to PM you
and I don't use ICQ from a long time
__________________
Stop doing what you like and start doing what brings you money!
Smart Fred is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-08-2017, 09:33 AM   #14
jscott
jscizzle
 
jscott's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 22,810
pls try now, damn gfy and their skimpy inbox's!!!
__________________
“If you think tough men are dangerous, wait until you see what weak men are capable of.”
—Jordan B. Peterson

Listen to Pomp tell why is Bitcoin important
jscott is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-08-2017, 10:22 AM   #15
Smart Fred
Confirmed User
 
Smart Fred's Avatar
 
Industry Role:
Join Date: Mar 2008
Location: France
Posts: 308
Quote:
Originally Posted by jscott View Post
pls try now, damn gfy and their skimpy inbox's!!!
It looks like it worked. PM sent.
__________________
Stop doing what you like and start doing what brings you money!
Smart Fred 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

Tags
pages, category, wordpress, enhanced, plugin, texts, unsupported, thx, adverts, specific, edit, editing, top, section, add
Thread Tools



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.