Hello. :)
Is there anything that we can add to our custom page which will show the total number of posts right just after the respective category name?
Eg.
Read XYZ Category Posts - contains <total_posts> number of posts
Showing total number of posts of category, possible?
(4 posts) (2 voices)-
Posted 1 year ago #
-
Hello :)
Do you mean the precontent theme area? Because I remember you wanted to disable it :)
regards,
MichaelPosted 1 year ago # -
Hello Michael. :)
Here's the complete scenario.
1. I don't want precontent area in all the single posts,pages or any of the categories, tags pages etc. So I have used your technique of removing it permanently using this technique http://bringthepixel.com/support/topic/blog-post-titles . However, I want precontent area on the home page. [may be for slider and all. Not sure yet]. So this is resolved.
2. You said here - http://bringthepixel.com/support/topic/i-want-to-remove-this-part-image-attached#post-3399 there may be some bug, that is redirecting it to the index page and not the actual homepage, so because of which, I have changed my plan[design] and making another one and setting 1 page as homepage, so there will be no more problem of homepage redirection.
Therefore, I want some code, which will display the total number of posts for any category (if parent, then child should be included in that).
All this will be shown in the content area, where instead of showing all the recent posts of blog, I am showing and categorizing main page by all category I am using in Blog. :)I hope, this makes the idea more clear to you now. :)
One more question.!
If I used multiple shortcodes, one-in-another to make design look good; does it make more complex for loading or accessing? Or it will be alright to make use of different shortcodes?Posted 1 year ago # -
OK, I think I know what's going on :)
http://codex.wordpress.org/Function_Reference/wp_count_posts
When it comes to shortodes: usually there are no problems. Sometimes you need to exceed your memory limit, but it's only when there many many shortcodes
regards,
MichaelPosted 1 year ago #
Reply
You must log in to post.