
-
AuthorPosts
-
September 29, 2015 at 8:48 pm #510984
I’m trying to separate the page title from breadcrumbs so the title is inside main content.
In Child Theme Options, Header Title and Breadcrumbs is set to display only breadcrumbs.
On archive and taxonomy pages, what code is needed to display the page title?September 29, 2015 at 10:27 pm #511028Hey Paul!
the_title(); is the tag for everywhere, but seems I can not understand exactly what you need to do.
Can u give us some more options, please?Regards,
BasilisSeptember 30, 2015 at 1:16 am #511059http://enfold.unisonconsulting.com/resources/bookmarks-db/
For archive, taxonomy pages this is the layout I want, without
<div class=”stretch_full container_wrap alternate_color light_g_color title_container”><div class=”container”>
being created around the archive title.Also, I’ve copied function-set-avia-frontend.php to my child theme and edited the titles for archive pages. The changes are not showing up.
http://enfold.unisonconsulting.com/2015/09/23/daniel-pinks-required-reading/
For a regular post or page, I don’t want the title to appear inside the container with the breadcrumbs. That’s why I set Child Theme Options to display only breadcrumbs.September 30, 2015 at 1:32 am #511060http://enfold.unisonconsulting.com/resources/bookmarks-db/
I think I’ve figured this out.
Except for function-set-avia-frontend.php in my child theme not updating.September 30, 2015 at 12:04 pm #511379Hi!
unfortunately function-set-avia-frontend.php is not a template file, that is why it won’t work inside your child theme.
Best regards,
AndySeptember 30, 2015 at 10:22 pm #511854Could you please point me to documentation on what files from original can go into the child theme and what can’t?
October 1, 2015 at 9:30 am #512021Hi!
I think this will help:
https://codex.wordpress.org/Child_Themes
https://developer.wordpress.org/themes/basics/template-hierarchy/Template files includes header.php, single.php, page.php or any files responsible for the frontend. If you want to override a function from the functions-enfold.php, just copy the whole function ( example: avia_title ) inside the child theme’s functions.php file.
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.