-
Author
Tagged: custom-title, pages
-
June 18, 2015 at 14:08 #63635BDecker19Participant
Hi, is there a possible bug with the custom title functionality?
Currently, if the theme option is set to display page titles in the breadcrumb and you set a custom one in the page options, it will display the custom title as it should (eg http://take.ms/jIzH5).
If the setting is switched over to display the title in the body however, it no longer picks up the replacement and switches back to the main page title (eg http://take.ms/jIzH5).
Is there a possible fix for this?
June 18, 2015 at 15:52 #63647sharmstrModeratorYou attached the same image twice, but yes, it appears to be a bug.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 18, 2015 at 16:12 #63651sharmstrModeratorOkay, this will be fix in the next minor release. In the meantime, put this in your childs functions.php file. Remember to remove it after the next update
COPY CODEfunction kleo_title_main_content() { if (sq_option('title_location', 'breadcrumb') == 'main') { $title_status = true; if( is_singular() && get_cfield( 'title_checkbox' ) == 1 ) { $title_status = false; } if ( $title_status ) { if ( is_singular() && get_cfield( 'custom_title' ) && get_cfield( 'custom_title' ) != '' ) { $title = get_cfield( 'custom_title' ); } else { $title = kleo_title(); } echo '<div class="container">'; echo '<h1 class="page-title">' . $title . '</h1>'; echo '</div>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 19, 2015 at 06:25 #63842BDecker19ParticipantOh btw, for the release fix… if it’s possible, one thing to consider as well would be having it replace the title in the browser tab display. Currently it still shows the title, rather than the override one if it exists… (eg http://take.ms/Y3Ngv)
June 19, 2015 at 06:29 #63844sharmstrModeratorooooo. Okay, I’ll look at that tomorrow. Thanks for catching that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 19, 2015 at 17:24 #63888sharmstrModeratorI just realized that the blog listings have the original title too. Trying to get these changes into the update that’s being released tonight.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 19, 2015 at 23:02 #63988sharmstrModeratorOkay, I’ve updated the page title in the header for all styles of posts and pages. I’ve also updated the new News Shortcodes for posts and tickers. The stuff that wont get the custom title is all non Kleo stuff like the built in VC posts grids and such.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.