therinstapp
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Help with format of new post typeI owe you big time, thank you for all your help.
Forum: Plugins
In reply to: [Custom Post Type UI] Help with format of new post typeOMG that worked!!
One more thing – if I just leave that in my parent theme, will it go away if I download an update? I again have a very slim grasp on how child themes work, but I could go learn how to do it if this won’t be a permanent fix.
Forum: Plugins
In reply to: [Custom Post Type UI] Help with format of new post typeIn content.php, I don’t fully understand what I’m seeing in the article tag, like I don’t know what these functions are doing-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>The ID seems irrelevant to my issue. But should the
post_classfunction pull all types of classes, so something is wonky? Or should I add'type-page'in those parentheses? I’m really sorry for not quite grasping how this works.Forum: Plugins
In reply to: [Custom Post Type UI] Help with format of new post typeSorry, I don’t understand – thank you for pinpointing what part of the CSS is causing the issue, that’s honestly huge.
The template in our child theme that I had assumed was causing things to be full width doesn’t have an
<article>tag in it at all. It’s really abbreviated compared to the full template listing, it just has a<div>tag. Am I barking up the wrong tree? This is everything in the template:<?php
/*
Template Name: custom_full_width
*/
get_header(); ?>
<div id="primary" class="content-area-full">
<main id="main" class="site-main" role="main">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
// Include the page content template.
get_template_part( 'template-parts/content', 'page' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
// End of the loop.
endwhile;
?>
</main><!-- .site-main -->
</div><!-- .content-area-full -->
<?php get_footer(); ?>