Community Forums › Forums › Archived Forums › General Discussion › Custom Post Type Title
Tagged: archive title, Custom Post Type
- This topic has 9 replies, 4 voices, and was last updated 2 years, 10 months ago by Anita.
May 5, 2020 at 9:14 am #498455
I am using Corporate Pro but it's probably a general question.
I created a custom post type and I want to show the title as on the archive page. But it shows:
<section class="hero-section" id="hero-section" role="banner"><div class="wrap"></div></section>
with no content. How do I get my Custom Post Type Archive title into that wrap?
I found this tutorial https://wpsites.net/web-design/title-custom-post-type-archive/ - which works but just adds the title below or above the hero section. See here: https://covid19-nmr.de/protein-results/ I need to find out how to use the hooks to EDIT that section.https://covid19-nmr.de/protein-results/May 5, 2020 at 11:16 am #498458
You are using a third party theme by SEO Themes. They provide support for their themes here - https://seothemes.com/support/. Submit a ticket to him and he should be able to assist you.
Love coffee, chocolate and my Bella!May 5, 2020 at 1:31 pm #498461
Wow! SEO Themes told me they don't support this because it's a Genesis related question. Studiopress told me they don't give support and I should answer here in the forums. Now you don't help and refer me back so SEO themes.
So much support! Not.May 6, 2020 at 1:28 am #498478Brad DaltonParticipant
There are tutorials around which should help you get this resolved. Please search for them as i have seen the code for this before somewhere.
Theme developers generally don't provide free customization support nor do they promise it upfront. They do support theme updates and theme specific bug fixes.
If you want to edit a CPT archive, you should use a cpt-archive.php template where cpt is the name of your custom post type.
May 6, 2020 at 5:14 am #498486
I have a cpt-archive.php template.
And being online since 1996 I know how to use a search bar. But when you don't know what you are looking for it doesn't really help.
I need to replace something that's put out with hooks. So I need to REMOVE the old output and ADD what I want. But I don't know which position the hero section is in and don't know how to solve the above action.May 6, 2020 at 5:29 am #498487Brad DaltonParticipant
Did you find this when you searched?
May 6, 2020 at 5:29 am #498488
Hi @squid74 sorry you are going in circles. Personally I don't know why SEO Themes responded that way, the forum is not support. It's here for people who volunteer their time to help others who have difficulties with their code. It has been a long policy that questions regarding third party themes be directed back to them.
Now that you elaborated more about what type of assistance you need, you can install the Genesis Visual Hook Guide plugin on your website and activate the hooks on the front end of an existing page with that header and it will tell you where the header is located.
One more thing to note for anyone else reading this, volunteers may not have a particular theme, may not have used it before so therefore we wouldn't have the files or code to even begin to assist you and that's why I personally will send you to the third party developer.
Love coffee, chocolate and my Bella!May 6, 2020 at 6:44 am #498492
I found the required action
remove_action( 'genesis_before_content_sidebar_wrap', 'corporate_hero_section' );May 6, 2020 at 7:50 am #498494chrisleeParticipant
Anita, thanks for helping that guy!!!
I guess some people don't get that folks here are volunteers helping out of the good of their own heart.May 6, 2020 at 8:50 am #498497
- The forum ‘General Discussion’ is closed to new topics and replies.