Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Another suggestion for serial posts

UserPost

1:43 pm
January 1, 2010


javier

Guest

1

May I suggest you to add an If condition?

If is home or is categories or is tags then do not show serialposts.

If serialpost tag is used on the top of an article, all the "you are reading… etc " and the list of posts will be shown in the extract at the main page.

Happy new year.

2:48 pm
January 1, 2010


Ade

Admin

posts 2384

2

Hi Javier,

Happy New Year to you too.

Theoretically, assuming you are using the_excerpt(), this function should strip out shortcodes. If you are showing the full post on the category pages, then I agree, it would be better to exclude the serialpost list. I'll add this to the to-do list.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:12 pm
January 1, 2010


javier

Guest

3

Using the_excerpt() function should do it, true, but I am using a truncate function to show only a few hundred of characters of the text in home, categories, tags and search pages lists… and serial list appears then. It would be cleaner to add an if condition to your programming, as I am not the only one who uses this kind of functions to properly format the pages…

1:04 am
January 2, 2010


Ade

Admin

posts 2384

4

Javier,

Which truncate function are you using? the_content_limit()?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:19 am
January 2, 2010


javier

Guest

5

I am using truncate_post()

Regards