We are building a Custom Post Type with Custom Fields and Custom Taxonomies.
The only thing we dont understand is how to embed the Custom Fields including header tags and stuff in the Postloop (now we use a text-box below the postloop section but also SEO wise this is not best pratice).
So we thought to copy the dms Postloop section to our child theme and rename this, to add an extra Postloop section to our theme. Is this the way?
What exactly to adjust in those 3 files class.posts.php, section.php and style.less (at this point we know how to change the thumb LOL) and where to add the Custom Fields shortcodes?
By Audun MB+
I'm using plugins such as Events Manager and WP Glossary. Basically I need to edit the meta information and the breadcrumb for the custom post types Event and Term. The plugins instruct me to add a single-event.php and single-glossary.php in my (child) theme.
What should I use as a basis for these files? Can I use the templates in the Framework main theme as a basis (tpl-a.php)? Or should I use the whole page.php file?
When I select a page template for a custom post type page, it also selects the same template for the children of this custom post type.
I want to have my custom post type template as a heavily customized loop that I've developed myself, and the children (they are articles) as a completely another template.
Is there a function that would allow me to select different templates for them on DMS?
Thank you very much in advance.
I want to add a Starbar to a Custom Post Type.
I've tried to simply copy/paste the full section code from the source code, but the animation doesn't happen.
Any idea on what I'm missing/doing wrong?
I just noticed that blog posts use <h2> for the post title. Custom post type posts also default to <h2>.
I checked the source code on a number of posts and couldn't find any evidence of an <h1> tag.
Just to see what would happen, I enabled Legacy mode, checked the source code, and saw that blog post titles and custom post type post titles were both wrapped in <h1> tags.
What's the deal with this?