Forum Replies Created
-
AuthorPosts
-
digisavvyMember
I'd have to say that I'm trying to figure out what the end-goal here is, too. It seems like you're spinning your wheels on using 'Sections' to organize your content. The plugin you're using seems to take this concept further, however, I'm not convinced that you need to go this route.
You content could be easily organized using WordPress's built-in Parent/Child Page structure. http://codex.wordpress.org/Pages (read section on creating pages). Doing things this way would get the job done, though, may not provide some of the bells and whistles this Cornerstone plugin purports to yield. Still, I'm not seeing a strong enough benefit in using the plugin.
If you need to move a bunch of posts and make them pages, ptypeconverter is a good tool for that.
As for the loop, there's a lot you can do with it. Below is a very basic example. Very basic, but should, I hope, give you some guidance on the whole thing.
Good luck.
</pre> <pre class="default prettyprint prettyprinted">//Remove the Genesis loop and insertering your own</pre> <pre class="default prettyprint prettyprinted">remove_action('genesis_loop', 'genesis_do_loop');</pre> <pre class="default prettyprint prettyprinted"><em id="__mceDel">add_action('genesis_loop', 'custom_do_cat_loop'); </em></pre> <pre class="default prettyprint prettyprinted">//A basic query. Using WP Query here</pre> <pre class="default prettyprint prettyprinted"><code>$my_query = new WP_Query(array( 'post_type' => array('page'), 'tag' => 'feature' ));</code></pre> <pre class="default prettyprint prettyprinted"> //Some example markup <h1><?php the_title() ?></h1></pre> <pre class=" language-php"><code class=" language-php"> <div class='post-content'><?php the_content() ?></div> </code> genesis();</pre> <pre class="default prettyprint prettyprinted">
digisavvyMemberI know this isn't a place for coding support, so thank you for your help, Nick. But couldn't use a conditional statement !is_single or something along those lines?
digisavvyMemberThe post types are being registered with a 3rd party plugin. In this Case Types and Views
-
AuthorPosts