• I want to add a list of static links to the end of each of my category archive pages where all the posts will be listed, but then a list of static links I will manually manage will appear once you get to the end of the list. I have added custom content to the beginning of the archive page, but it doesn’t seem to be working at the end of the page as it seems to float left in the sidebar. I want to be able to click through all the pages of archive listings before I see the list after the very last post on the archive page. Where would I put my html code?

    Here is my category archive page code:

    <?php
    /**
     * Displays the archive section of the theme.
     *
     * @package Theme Horse
     * @subpackage Clean_Retina_Pro
     * @since Clean Retina Pro 1.0
     */
    ?>
    
    <?php get_header(); ?>
    
    <?php
    	/**
    	 * cleanretina_before_main_container hook
    	 */
    	do_action( 'cleanretina_before_main_container' );
    ?>
    
    <div id="container" class="wrapper clearfix">
    <p>
    Feel free to review our bakery pages!
    </p>
    	<?php
    		/**
    		 * cleanretina_main_container hook
    		 *
    		 * HOOKED_FUNCTION_NAME PRIORITY
    		 *
    		 * cleanretina_content 10
    		 */
    		do_action( 'cleanretina_main_container' );
    	?>
    
    </div><!-- #container .wrapper -->
    
    <?php
    	/**
    	 * cleanretina_after_main_container hook
    	 */
    	do_action( 'cleanretina_after_main_container' );
    ?>
    
    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • Thread Starter kelsey.rahenkamp

    (@kelseyrahenkamp)

    Just to further clarify, each of my posts within certain categories represents a company but certain companies won’t have a full post but I still want to list them out. So you’ll get to the archive page, look through the list of posts over several pages, and then see a static list of names (without links or anything) at the very end of the list.

    I am pretty good at HTML and CSS but not PHP. So I know what html code to use, but where in my PHP do I put it to make sure the list appears at the very end of my archive listings?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Static List at End of Archive Pages’ is closed to new replies.