-
AuthorPosts
-
February 13, 2017 at 9:58 pm #746645
Hello!
For some reason, I am not seeing titles at the top of category pages for blog posts.
I got some help making a change to show tag titles on tag pages here: https://kriesi.at/support/topic/how-to-change-header-text-on-tag-page-to-reflect-tag-selected/ – is this fix causing this problem?
Hope you can help.
Thanks!February 17, 2017 at 7:03 pm #748583Hey Julie,
Sorry for the delay, I tried to check the links you provided but the page isn’t available any more. Could you please check and share a precise link where we can see the elements in question.
Best regards,
VinayFebruary 17, 2017 at 7:12 pm #748591Hey Vinay,
Must have been a server glitch– they are working for me.
Can you try again? I have added them again below.
Thanks!February 23, 2017 at 1:42 pm #750916Hi,
Thank you for sharing the links again and it works fine now :)
There are two places where page title can be setup.
1. Page title can be set to show or hide sitewide from Enfold > Header > Header Layout > Header Title and Breadcrumbs
2. Page title can be individually setup for pages if you like from “Title Bar Settings” in the layout options that appear in the right sidebar on the page itself.If it is not showing sidewide please check in the enfold theme option and let us know if you still have any issue. We will need to take a closer look so please post us your login credentials (in the “private data” field).
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
VinayFebruary 24, 2017 at 5:19 pm #751506Hey Vinay,
Breadcrumbs are turned on sitewide and working correctly.
I do not see an option to edit the blog category page template to change title settings.
Login credentials are below.
Thanks for your help!March 1, 2017 at 5:02 pm #753802Hi,
Thank you for the credentials, we checked your settings under Enfold > Header > Header Layout > Header Title and Breadcrumbs and updated the option to show both titles and breadcrumbs.
Also noticed you are using an old version please updated the theme to latest version.
Thank you for using Enfold :)
Best regards,
VinayMarch 1, 2017 at 5:20 pm #753813Hey Vinay,
Thanks for taking a look.
The page title I want to show is the one at the top of the page, not in the breadcrumb bar.
It shows on the Tag archive pages, but not on Category archive pages. Links to marked screenshots to clarify are below.
I applied a fix earlier from this thread to fix a problem with duplicate titles showing, not sure if that is causing the problem: https://kriesi.at/support/topic/how-to-change-header-text-on-tag-page-to-reflect-tag-selected/
Thanks for your help.March 2, 2017 at 4:18 pm #754400Hi!
Thank you for the clarification. Page titles can be changed or added using a plugin like YOAST https://wordpress.org/plugins/wordpress-seo/
Or
Give this simple page title plugin a try https://wordpress.org/plugins/custom-title/
Regards,
VinayMarch 2, 2017 at 5:03 pm #754419Hey Vinay,
Yoast is installed and set to display category page title (default setting). Tag pages are also set to display (also default). Screenshot link is below.
Categories pages do not display title at all, Yoast or otherwise. Tag pages display title, but not the word “archive” as specified in Yoast.
Yoast settings are not displaying on tag pages– this is why I am thinking this is not a Yoast setting but a theme issue.The other plugin you referenced appears to only allow changing page/post titles on pages I can edit. I can’t edit the Categories page template.
Can you check that the Categories archive page template is correct? Or maybe there is a fix to apply in the child theme functions? I don’t understand why it’s not working on this site– I have used this theme many times and it does on all the other ones.
Sorry this is such a pain. Thank you for your help.
March 7, 2017 at 11:58 am #756907Hi,
Thank you for the clarification, category name does not show by default. To show the Category name in archive pages. Please create a new page in child theme folder and name it “archive.php”.
Go to http://pastebin.com/raw/Rny9kmrc and copy the whole code to the newly created archive.php page
We have added
<h1 class="custom-cat-title">You are now in <?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?> category.</h1>
Right under the main tag.
To style the heading please use the css class name “custom-cat-title” and style the heading as per your design needs.
hope this helps :)
Best regards,
Vinay- This reply was modified 7 years, 8 months ago by Vinay.
March 8, 2017 at 11:36 pm #758093Hey Vinay,
Wow, I had no idea it did not normally display or that the fix would be so complicated– thank you and the team so much for this!For the benefit of anyone else who needs this fix, to get it to look right, I edited the code in the archives.php file to remove the “You are now in” and “category.” text, and styled it (to make it all caps and adjust font size and padding so it matches the tag title pages on my particular site) by adding the following in Quick CSS:
.custom-cat-title { text-align: center !important; text-transform: uppercase; padding-top: 27px; padding-bottom: 24px; font-size: 30px;
}Thank you so much for your patience and for helping me with this! :)
March 9, 2017 at 9:14 am #758244Hi,
Glad we could help! and thank you for sharing the CSS :)
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Titles not showing on category pages’ is closed to new replies.