Make twentyeleven_content_nav pluggable
|Reported by:||adeptris||Owned by:||nacin|
This is just for a theme function future release consideration.
I was looking at a question in the forum, it was in relation to one of the pagination plugins.
Using a child theme, I was going to suggest creating the twentyeleven_content_nav function with conditional wp-pagenavi or wp-pagination code, with just a couple of code lines.
With the Twenty Eleven functions.php the function twentyeleven_content_nav, we cannot override the function in a child theme, so we have to copy across index.php etc: to the child theme and edit the navigation code blocks
As I said just for future consideration to make the function conditional like many of the others in functions.php
Change History (7)
comment:1 SergeyBiryukov — 22 months ago
- Component changed from Themes to Bundled Theme
- Keywords has-patch added
- Summary changed from Function exists code twentyeleven_content_nav to Make twentyeleven_content_nav pluggable