Blask – remove PROJECT TYPE:… text from top of submenu pages
-
How can I remove the large type in capitals at the top of the sub menu pages. It currently reads PROJECT TYPE: PICTURE BOOKS
https://julietknight.wordpress.com/project-type/picture-books/
Many thanks in advance to anyone who has the time to reply.
JK
The blog I need help with is: (visible only to logged in users)
-
-
-
I’m trying to remove it too with my limited coding skills.
Still can’t find it and so far the only thing I found was change line 263 in pluginsjetpackmodulescustom-post-typesportfolio.php from
'singular_name' => esc_html__( 'Project Type', 'jetpack' ),to:
'singular_name' => esc_html__( ),The problem is I’m sure this is not the right way and it leaves the colon there, so now the top of the page would read “: Picture Books”
-
Oh I would like to add, what I did was just remove the title entirely. Again, not the best option because I would like it to be there, just without “Project Type”, but this is how I removed it:
– Go to themeblaskarchive.php
– Go to the PHP code in line 18-21 that looks like this:<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?>– Remove line 19, so it looks like this:
<?php the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?>The entire title line should be gone from the page.
However I would still prefer if the title was there, just without the prefix “Project Types”. Also, this doesn’t change the page title your browser displays, that would still be something like “Picture Books | Project Types| Site name”
- The topic ‘Blask – remove PROJECT TYPE:… text from top of submenu pages’ is closed to new replies.