Theme Development : License help
Theme Development : License help
Theme Development : License help
The easiest way to achieve this would be to use a custom post type. This way, these posts won’t show up as custom post types by default are excluded from the main query. You can just then create your page and create a custom query with WP_Query to pull in this 9 posts 1. CREATE … Read more
The the_ID() function that you are using in your code echos the current post id, to get current post id instead of displaying it use the function get_the_ID() as shown in the following code. Alternatively you can just use get_post() function without passing any post id as a parameter because the post id parameter is … Read more
Conditional loop based on current page
editor style css and page template with and without sidebar
Very slight one, see below 🙂 $bgimage= get_post_meta( $post->ID, ‘settings_image’, true ); ?> < div style=”<?php echo ‘background-image: url(‘.wp_get_attachment_url( $bgimage ).’)’;?>”>
Custom widget not appearing on front end
This sounds like your theme doesn’t have a margin/padding set on the paragraph. Just add the following CSS to the themes style.css and your paragraphs should then be spaced. p { margin-bottom:20px; }
Flexslider not working for my custom theme WordPress
H’okay, so, using this resource, I was found that going into the template-knowledgebase.php file and replacing the cat keyword with category__in (that’s a double underscore) did only return the articles who’s parent were the category we were looking at. I also edited the else statement of the if to be endif and removed the extraneous … Read more