Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-03-04, 03:27 PM   #1
Schpork
Just because I don't care doesn't mean I don't understand!
 
Schpork's Avatar
 
Join Date: Feb 2007
Posts: 98
Mmh yes, even though I haven't had any luck setting it up yet the idea seems good, quality traffic should be a tad higher. Would be nice if somebody explains (I know every theme is different but still) how to add category trades.

Schpork
__________________
Contact me for Hardlink trades
[ICQ: 368919539]
Schpork is offline   Reply With Quote
Old 2007-03-04, 04:35 PM   #2
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by Schpork View Post
Mmh yes, even though I haven't had any luck setting it up yet the idea seems good, quality traffic should be a tad higher. Would be nice if somebody explains (I know every theme is different but still) how to add category trades.

Schpork
I've been playing around more with this over the weekend and I think Thumbler might have the right idea with themes. So I'll try to explain it using that mode.

I can't emphasize enough, be sure and back up your theme. Also, if you can't follow that theme well enough to understand how it assembles all of the pieces together to make your web page, then you should spend some time reading the tutorials on wordpress.org before you do this.

I'll use the WP link organizer in the example.

Make a link trade category for each of your post categories you want to trade with. Be sure to make a main category for your index page. In the example, I'll explain how to do the main and an amateur category setup for separate trades. Just keep repeating until you have trades setup for all the categories you want to trade with.

1. In WP, create two link categories, main and amateur.
2. Check for the ID number on your post categories for amateur and make a note of it.
3. Copy the archive.php and sidebar.php files from your theme.
4. Rename the copy of the archive.php to category-ID.php where ID is the ID number from step 2.
5. Rename the copy of sidebar.php to sidebaramateur.php
6. Edit sidebaramateur.php. Where your "LINKS" or blogroll or whatever is located, replace that statement with:
Code:
<?php wp_get_linksbyname('amateur'); ?>
7. Edit category-ID.php. Where you find your call to the sidebar
Code:
<?php get_sidebar(); ?>
, replace with
Code:
<?php include 'sidebaramateur.php'; ?>
8. Edit sidebar.php Where your "LINKS" or blogroll or whatever is located, replace that statement with:
Code:
<?php wp_get_linksbyname('main'); ?>
9. Upload updated files to your server and test. If you have a problem, simply deleting the category-ID.php file should resolve any issues.
10. Follow these same steps, except 8 for all the category trades you want to setup.

Since WP themes come in multiple varieties these steps may or may not work with your theme. For example, one of my themes actually has 4 files it uses to make up the sidebar so this wouldn't have worked as written for that theme. You should familiarize yourself well enough with the theme you are using to make sure you understand how it makes up your pages.

Note: your main page and all other pages that are not category pages will have the "main" links on them.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2007-03-04, 07:03 PM   #3
Trev
Is it over already?
 
Trev's Avatar
 
Join Date: Sep 2003
Location: the beautiful shores of Lake Erie
Posts: 890
Quote:
Originally Posted by walrus View Post
I've been playing around more with this over the weekend and I think Thumbler might have the right idea with themes. So I'll try to explain it using that mode.

I can't emphasize enough, be sure and back up your theme. Also, if you can't follow that theme well enough to understand how it assembles all of the pieces together to make your web page, then you should spend some time reading the tutorials on wordpress.org before you do this.

I'll use the WP link organizer in the example.

Make a link trade category for each of your post categories you want to trade with. Be sure to make a main category for your index page. In the example, I'll explain how to do the main and an amateur category setup for separate trades. Just keep repeating until you have trades setup for all the categories you want to trade with.

1. In WP, create two link categories, main and amateur.
2. Check for the ID number on your post categories for amateur and make a note of it.
3. Copy the archive.php and sidebar.php files from your theme.
4. Rename the copy of the archive.php to category-ID.php where ID is the ID number from step 2.
5. Rename the copy of sidebar.php to sidebaramateur.php
6. Edit sidebaramateur.php. Where your "LINKS" or blogroll or whatever is located, replace that statement with:
Code:
<?php wp_get_linksbyname('amateur'); ?>
7. Edit category-ID.php. Where you find your call to the sidebar
Code:
<?php get_sidebar(); ?>
, replace with
Code:
<?php include 'sidebaramateur.php'; ?>
8. Edit sidebar.php Where your "LINKS" or blogroll or whatever is located, replace that statement with:
Code:
<?php wp_get_linksbyname('main'); ?>
9. Upload updated files to your server and test. If you have a problem, simply deleting the category-ID.php file should resolve any issues.
10. Follow these same steps, except 8 for all the category trades you want to setup.

Since WP themes come in multiple varieties these steps may or may not work with your theme. For example, one of my themes actually has 4 files it uses to make up the sidebar so this wouldn't have worked as written for that theme. You should familiarize yourself well enough with the theme you are using to make sure you understand how it makes up your pages.

Note: your main page and all other pages that are not category pages will have the "main" links on them.
With a few minor differences, this is basically the way I did it for Emmanuelle. Quick and easy.
__________________
Hey buddy... can you spare a sig?
Trev is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:02 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc