I have a few issues on a WP site, and come up stuck.
1) I have 2 areas in a site, posts and pages. I need to display the total number of posts, and pages to the visitors. For the posts I have used wp_count_posts but can’t find the same function for pages. I need to display the number of pages that are child pages.
2) I use a plugin called category images to display images next to the category list, now it works fine on the homepage but doesn’t display the images on any other pages.
I also have the need for someone fluent in jQuery to help me with a function in the site, basically if you look at this site, the voucher code is hidden when until you click the get code button… I want something similar.
Thanks in advance
bumppp anyone able to point me in the right direction?
Gareth_Gillman said
I have a few issues on a WP site, and come up stuck.1) I have 2 areas in a site, posts and pages. I need to display the total number of posts, and pages to the visitors. For the posts I have used wp_count_posts but can’t find the same function for pages. I need to display the number of pages that are child pages.
2) I use a plugin called category images to display images next to the category list, now it works fine on the homepage but doesn’t display the images on any other pages.
I also have the need for someone fluent in jQuery to help me with a function in the site, basically if you look at this site, the voucher code is hidden when until you click the get code button… I want something similar.
Thanks in advance
1. erm wp_count_posts(‘page’)
2. ask the plugin author or don’t use a plugin
1) Number five.
2) what OBM said.
3) is that a paying job, or are you asking for free help on client projects?
