Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 12-15-2009, 09:43 PM   #1
Warrior Member
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with Wordpress links

Is there some way to have a set of links show only on specific pages/posts in my Wordpress site?

For example can my links somehow be sorted by post category so that all the posts under that category will show a particular group of links. And posts under a different category will show a different set of links?

I only want some links to show on some posts and not on others.

So, what I'm aiming for is if I click on any post under a certain category, the links shown will be relevant to those posts in that category.
If I click on a different category, the links shown will be different and relevant to the posts of that different category.

Thanks for your help.
straightbella is offline   Reply With Quote
Old 12-16-2009, 07:07 AM   #2
ebusinessplus
War Room Member
 
Join Date: Sep 2009
Location: Mumbai, India
Posts: 55
Blog Entries: 1
Thanks: 10
Thanked 6 Times in 4 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to santoshr25
Default Re: Help with Wordpress links

Hello Bella, this is difficult in wordpress. This can be done in Joomla where you can have 2 instances of links modules (plugin) itself, and you can display one instance of the links for one category and another instance for the other category.

If you can manage to get 2 instances of the links plugin in wordpress then probably you may be able to do it, display the first instance for one category and the second instance for the second category, but i think its difficult, wordpress is a little weak when it comes to embedding logic in this way, it sure is the best blogging though. All the best.

santoshr25 is offline   Reply With Quote
Old 12-16-2009, 12:09 PM   #3
Warrior Member
 
Join Date: Dec 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Help with Wordpress links

Thanks for providing help about this here. I was looking for this. This forum is a nice place.

http://www.gocubans.com]Cuban Cigars[/url]
jeffanderson264 is offline   Reply With Quote
Old 12-16-2009, 03:03 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: Mar 2009
Posts: 165
Thanks: 16
Thanked 36 Times in 29 Posts
Default Re: Help with Wordpress links

Quote:
Originally Posted by straightbella View Post
Is there some way to have a set of links show only on specific pages/posts in my Wordpress site?

For example can my links somehow be sorted by post category so that all the posts under that category will show a particular group of links. And posts under a different category will show a different set of links?

I only want some links to show on some posts and not on others.

So, what I'm aiming for is if I click on any post under a certain category, the links shown will be relevant to those posts in that category.
If I click on a different category, the links shown will be different and relevant to the posts of that different category.

Thanks for your help.

You are going to use two plugins to accomplish this: Widget Logic and Category Posts Widget

The category posts widget allows you add a widget to your sidebar and specify the category of the post links you want to show. So if the category's posts you want to display are in category A, you'd add the widget to your sidebar, specify category A, and a title for the widget if you prefer and save. Now only posts in category A will appear in this widget in the sidebar.

But you want to only show that sidebar on certain post pages. This is where Widget Logic comes in.

At the bottom of the widgets, you will have a widget logic blank. In this blank you need to put the conditional tags to only show this widget on certain pages.

If you only want the widgets to appear on post pages within a certain category, you'd enter:in_category('X')
Where "X" represents the category number.
You can get the category number by going to the page that shows all your categories, mouse over the category, look at the bottom left status bar and see the id=#

So by combining the power of the two, we can show only one category's posts in a widget (category posts widget) on post pages within that specific category (widget logic).

Is this what you were trying to accomplish?

Aristocratic is offline   Reply With Quote
Old 12-18-2009, 07:46 AM   #5
Warrior Member
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Help with Wordpress links

Thanks Aristocratic.
This sounds like what I'm trying to achieve.
I'll give it a go. Thanks again
Bella
straightbella is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
links, wordpress

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:17 PM.