- This topic has 3 replies, 2 voices, and was last updated 7 years, 12 months ago by Andrew Misplon.
- AuthorPosts
- November 26, 2016 at 4:25 pm #5562
quangbahoaParticipantHi,
I’m new on Ultra pro from Vantage premium.
I’m looking for a way to add Google fonts subset to customizer panel and remove archive title prefix like
Category:, Tags: , Author:, Date: ...
on Ultra pro.Thanks
November 27, 2016 at 2:01 pm #5567
Andrew MisplonKeymasterHi quangbahoa
Thanks for your support.
Archive Titles
From
Appearance > Customize
you can now use Page Template Settings to edit the layout of archive pages. Unfortunately, removing the title prefix isn’t an option. We can however, remove it with a plugin called Code Snippets. Once activated go toSnippets > Add
New and name your snippet as you’d like. In this snippet body insert:function ultra_archive_title( $title ) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } elseif ( is_author() ) { $title = '<span class="vcard">' . get_the_author() . '</span>' ; } return $title; } add_filter( 'get_the_archive_title', 'ultra_archive_title' );
Select the option to only run on site front end and then click the Save changes and activate button.
Unfortunately, it isn’t possible to add Customizer subsets to the framework being used. Can you perhaps let me know what needs to be changed and I can advise a Custom CSS snippet perhaps?
November 27, 2016 at 3:09 pm #5568
quangbahoaParticipantThanks for reply.
For archive prefix I can do with CSS or custom function. For fonts subset I can using
@import
or custom functions. My client with no knowledge. They can’t! So I ask for solutions as features request.Anyway, thanks for support.
November 27, 2016 at 3:12 pm #5569
Andrew MisplonKeymasterFor sure, thanks for your feedback. Appearance > Customize > Page Template Settings should let the user hide the page title on archive pages, unfortunately, filtering it isn’t an option.
For the font issue, I wish we could improve that but there are currently a few limitations holding us back in this version of the framework.
If I can help in any other way, please, let me know. Thanks for your feedback and understanding.
- AuthorPosts
You must be logged in to reply to this topic.