MonkeeWork
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom Taxonomy does not display as admin menu item.Thank you for the link Sanjog,
I’ve already honestly scoured throug www.remarpro.com’s information on Taxonomies, i’m just not experienced enough or possess enough of an understanding to be able to figure out what i’ve done wrong. I’m getting no errors, its just not working so i don’t have any means i can grasp to deduce my error sadly.
Thank you for the help – i am going to try to start over again from scratch and hope that I can find the problem.
Cheers and thank you
Forum: Themes and Templates
In reply to: Can't Get Child Theme To Load – WP defaults to 2016 ThemeThank you got it resolved
Forum: Themes and Templates
In reply to: Can't Get Child Theme To Load – WP defaults to 2016 ThemeAhhhh.. Thank you for pointing out my error. Can you point me at a good wp_enqueque tutorial which is newb friendly? I was working from info on wpbeginner for trying to figure out how to do the child theme.
thank you very much
Forum: Fixing WordPress
In reply to: Display All Posts Related to a Single Category on one page.Thank you very much for your excellent help and keen understanding Marious. I was able to resolve my issue very quickly and get the initial result I was hoping for and I learned a lot about working with WordPress in the process.
Below is the resolved code for anyone whom this might be of benefit too.
Cheers!
<?php #custom-showCategoryProfiles.php /** * Template Name: Custom Show Category Profiles Only * Description: Page template shows all posts * belonging to one category only (profiles) * based on page; * * Template displays all posts to a specific category. * * SEE: https://www.smashingmagazine.com/2015/06/wordpress-custom-page-templates/ * * @package WordPress * @subpackage Twenty_Fifteen * @since Twenty Fifteen 1.0 */ get_header(); echo '<div id="primary" class="content-area"> <main id="main" class="site-main" role="main">'; #get all posts from one category #line 23 if( is_page( 'profiles' )) { query_posts( array( 'category_name' => 'profile' ) ); } #line 27 #Display posts. while ( have_posts() ) : the_post(); #Include the page content template. get_template_part( 'content', 'page' ); #If comments are open/have at least one comment, #load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; // End the loop. endwhile; echo '</main><!-- .site-main --> </div><!-- .content-area -->'; get_footer();
‘