Modifying the category php output
-
Trying to customize this even further to feed my parallax slider when something entered into a specific category.
Looking at the Archive-Project.php
Where does this line get the data from?
<?php projects_get_template_part( 'content', 'project' ); ?>
What I’m after is modifying the output to match this form.
id=708 is the page id of the parallax slider category<?php $id = 708; $temp = $post; $post = get_post( $id ); setup_postdata( $post ); ?> <div class="da-slide"> <h2><?php the_title(); ?></h2> <p><?php echo excerpt(10); ?></p> <a href="<?php the_permalink(); ?>" class="da-link">Read more</a> <div class="da-img"> <?php do_action( 'projects_feature' ); ?>"> </div>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Modifying the category php output’ is closed to new replies.