You have written two of my all time favorite plugins ~ Display Posts Shortcode and Genesis Subpages as Secondary Menu so, thank you!
And I figured you’d be the man to know…
I want to get rid of the separate blog altogether and integrate all posts using the site’s structure to place them in the correct cornerstone sections.
Let me explain what I mean.
I am new to Genesis so I am having difficulties tracking down how the loop works exactly.
The loop is generally started with the following code:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
For working with posts, I want to organize this new site’s content into “sections” using the Cornerstone plugin [ http://wordpress.org/extend/plugins/cornerstone/ ] and not fake the site structure with categories and tags, so I want to use a couple different functions in place of the default ones:
<?php if ( cnr_have_children() ) : while ( cnr_have_children() ) : cnr_next_child(); ?>
In the loop, displaying the post’s content should be exactly the same as with any other template in a theme. So I assume I can use template tags such as
Here’s an example loop that displays the title and an excerpt with a link for each post in the section when using Cornerstone…
<?php if ( cnr_have_children() ) : while ( cnr_have_children() ) : cnr_next_child(); ?> <h3><?php the_title(); ?></h3> <div><?php the_excerpt(); ?></div> <?php endwhile; endif; ?>
My questions are ~
A) how is this form of post structuring likely to affect (or not) the loop and other functions within Genesis in general, and more specifically in Dynamik for Genesis?, and
B) where does the loop start in Genesis?
C) Can I simply use a Dynamik Custom Hook Box with “genesis_loop” to replace the Genesis loop entirely and not worry about A) & B) ?
- The topic ‘On not faking site structure’ is closed to new replies.