August 27, 2014 at 2:03 pm
#13326
marmarr
Participant
As I said, I can’t edit the settings from there because the posts don’t have a page, only a category. Pages doesn’t work for what I am trying to do. And yes, as I said, I put it in my child theme.
I did not customize the code.
It looked like this
<?php
/**
* Displays the archive section of the theme.
*
* @package Theme Horse
* @subpackage Attitude
* @since Attitude 1.0
*/
?>
<?php the_content(); ?>
<?php get_header(); ?>
<?php
/**
* attitude_before_main_container hook
*/
do_action( 'attitude_before_main_container' );
?>
<div id="container">
<?php
/**
* attitude_main_container hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* attitude_content 10
*/
do_action( 'attitude_main_container' );
?>
</div><!-- #container -->
<?php
/**
* attitude_after_main_container hook
*/
do_action( 'attitude_after_main_container' );
?>
<?php get_footer(); ?>
and
<?php
/**
* Displays the archive section of the theme.
*
* @package Theme Horse
* @subpackage Attitude
* @since Attitude 1.0
*/
?>
<?php
global $more; // Declare global $more (before the loop).
$more = 1; // Set (inside the loop) to display all content, including text below more.
the_content();
?>
<?php get_header(); ?>
<?php
/**
* attitude_before_main_container hook
*/
do_action( 'attitude_before_main_container' );
?>
<div id="container">
<?php
/**
* attitude_main_container hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* attitude_content 10
*/
do_action( 'attitude_main_container' );
?>
</div><!-- #container -->
<?php
/**
* attitude_after_main_container hook
*/
do_action( 'attitude_after_main_container' );
?>
<?php get_footer(); ?>