I know how to do this on normal post and pages but in the pages where I use the short code with the thumbs and pagination, how would I move the location of the pagenavi to above the posts rather than below them? When I add the pagenavi code to the position i want it in in the custom page template it shows pages 1 of 0 and then the pagenavi shows up again under the thumbs with the correct pagination. Id like the pagination to match the rest of the site on these page types. Any ideas?
move pagenavi to different position in thumbnails with pagination pages
(4 posts) (2 voices)-
Posted 1 year ago #
-
only way is to change the code of the bfthumbs_func (in library/functions/theme-functions.php).
Posted 1 year ago # -
Thank you. This worked. Another quick question because I attempted this and it didnt work, since I'm basically creating a new child theme, I want to make sure these functions do not override if i upgrade bigfeature.. how do I implement the changed files from the library/functions folders into my child theme. Currently I have my changes made in the core theme files and I really don't want them to be there.
Posted 1 year ago # -
some functions are outputted with hooks, check hooks.php to see which ones, and those you can create new versions of, check the bfnav child theme for an example. In the new version I'm working on now I have also added function_exists to many functions so they can be overridden in the child theme. This you can add to your version too, example:
add this before the function declaration (with the function name):
if ( ! function_exists( 'meta' ) ) :and this after the end of the function:
endif;then the functions declared in the child theme (with the same name) will be used instead of the ones in the main theme, because the child theme runs first.
Posted 1 year ago #
Reply
You must log in to post.