badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to display full blog post in categories

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13250

    hi marmarr,
    did you customise the code ? We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    We have full content display options. go to Dashboard -> pages -> new page / (edit any page) -> at the right side there is template blog full content display. Select that template and it will display the full content.

    Thank you!

    #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(); ?>
    #13356

    hi marmarr,
    All your post page content is displayed from the library -> structure -> content-extension.php file. There is a function for archive page single page etc. Just create a function.php file inside the child theme and first unhook the function and then again hook the function and customise the code. If you are still unable then you may hire a developer to fix the issue.

    simple example how to unhook for page 404.php

    unhook functions
    
    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    
    remove_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 );
    
    }
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
    
    add_action( 'attitude_404_content', 'attitude_child_display_404_page_content', 10 );
    /**
     * function to show the footer info, copyright information
     */
     
     
    function attitude_child_display_404_page_content() {      ?>   
    <div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p>Thank you</p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
      <?php 
    }
    

    Hope this may help you

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.