Page Name Not Displaying Correctly
-
AuthorPosts
-
-
January 30, 2018 at 5:15 AM #256416ldittmarParticipant
Hi ThimPress, I’m using your LearnPress theme and really like it, thank you. One issue I’m having is that the header for the “Courses” page, which normally displays the page name, is displaying “Category:”. How can I change this to be name of the page? http://www.lingobites.com/lp-courses/
Also, how do I set the order of the courses so that they appear in a particular order?
Thanks! -
January 30, 2018 at 2:12 PM #256675AnonymousInactive
Dear ldittmar,
Can you give me your wp-admin to check more carefully, using access information?
Because normally, it will show the name of the page but I don’t know why it show category on your site. I’ll check and try find a solution for you.
If you want to set order for course, you have to create child theme, override file and change it.
This is quite complicated so you can send your request here: https://thimpress.com/wordpress-theme-customization-services/ our developers may find way for you.
Best regards,
Huyen Anh
Â
-
February 17, 2018 at 9:08 PM #263972AdminParticipant
Dear ldittmar,
I fixed thi bug on your site by add bellow code to end of file functions.php in your theme.
add_filter('get_the_archive_title', 'learn_press_callback_filter_get_the_archive_title', 10); function learn_press_callback_filter_get_the_archive_title( $title ){ if( function_exists('learn_press_is_courses') && learn_press_is_courses() ){ $page_id = learn_press_get_page_id( 'courses' ); $title = get_the_title($page_id); } return $title; }
Yours Sincerely,
Phong Lo
———-
ThimPress Support Team
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here