Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Customize text template as setting in ATO>>Sidebars & Widgets>>Style Widget (http://forum.bytesforall.com/showthread.php?t=5224)

bigliettaio Jan 9, 2010 03:06 PM

Customize text template as setting in ATO>>Sidebars & Widgets>>Style Widget
I would like to display my text widget who returns categoy posts on each post page under a certain category
(really i setting it only for posts belonging to next categories :
  1. Rugby
  2. Stadi del Sei Nazioni - RBS Six Nations Stadium
as explained here.
When everithing is setting only Category pages ( i.e. the two mentioned above) and front page sidebars will show 10 recent posts.

juggledad Jan 10, 2010 05:26 AM

what widget are you using?

bigliettaio Jan 10, 2010 06:26 AM

I use text widget,
inside the text widget i get a php string to shows category post of specified category: <?php wp_cat_posts(); ?> and adding a conditional_tag to widget logic.

juggledad Jan 10, 2010 09:47 AM

you just need to code your 'widget logic' so it will do whatyou want. This isn't an Atahualpa issue, it's a 'How do I code the logic so widget logic will work the way I want it too' issue :)

Are you saying you only want this text widget to displa on the front page and on the category pages 'Rugby' and 'Stadi del Sei Nazioni'?

bigliettaio Jan 17, 2010 02:18 PM

Hi JD,
i want to ask you if is possible do the following think:

i set the orptions of this two plugins:

_Category post widget
_widget logic

to listed posts belonging to categories in ONLY in single posts pages.

So do you think is possible limit the number of listed posts?


All times are GMT -6. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.