- This topic has 4 replies, 2 voices, and was last updated 10 years, 7 months ago by
Theme Horse Support Team.
-
AuthorPosts
-
March 9, 2015 at 5:17 pm #22922
Adria
ParticipantWould you let me know how I may add the page title to the following page: http://bettinasteinkestudio.com/dev/artists/? the Template is a 4 column gallery template.
March 10, 2015 at 5:00 am #22939Theme Horse Support Team
KeymasterHi Adria,
To use the page title as in our demo you may use breadcrumbs
https://wordpress.org/plugins/breadcrumb-navxt/If you don’t want to use plugins then it needs code customization. We recommended you to create a child theme before making any changes in the code.
Thank you!
March 10, 2015 at 2:24 pm #22954Adria
ParticipantOkay. However, what I am trying to understand is why the title appears on these pages below:
http://bettinasteinkestudio.com/dev/exhibitions/
http://bettinasteinkestudio.com/dev/about-us/but not on the gallery templates? Is there a way for me to put <h1 class=”entry-title”><?php the_title(); ?></h1> into the gallery templates?
Thank you.
March 10, 2015 at 4:43 pm #22962Adria
ParticipantI added the following code to the header.php but the breadcrumbs don’t show up:
<div class=”breadcrumbs” xmlns:v=”http://rdf.data-vocabulary.org/#”>
<?php if(function_exists(‘bcn_display’))
{
bcn_display();
}?>
</div>I placed it below the <div id=”main”> code in the header.php file
March 11, 2015 at 5:40 am #22984Theme Horse Support Team
KeymasterHi Adria,
You need to install the plugins to get the breadcrumbs effect. We have not added the gallery title in gallery page. We have designed our theme this way.Suppose if you are using two column gallery then to display gallery title goto theme folder-> library-> structure-> content-extension.php on line no 1042 and add this below code.
<?php if(is_home() || is_front_page()){?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute();?>"><?php the_title(); ?></a> </h2><!-- .entry-title --> <?php }else{ ?> <h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute();?>"><?php the_title(); ?></a> </h1><!-- .entry-title --> <?php } ?>Before making any changes first of all create a child theme and then only customize the code to be safe from data loss while updating to our new version.
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.
