Support » Theme: The Funk » Post full article exactly like the writing!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Is there any option for managing post from backend? In which file you changed the_excerpt() to the_content() ? I think you have to change this on index.php file. Try it once and if not work, feel free to ask. I will do my best to solve your problems.
    Thanks

    Hardeep Asrani answered another person below the following:

    Just replace the following code in index.php, archive.php & search.php:

    <?php the_excerpt(); ?>

    with the following code:

    <?php the_content(); ?>

    So I changed in those three spots. Now, if only I have to change in the index .php rather archive.php & search.php tell me if it is only in one place or in the three where I do change!

    If you need full post everywhere, change on all files. If need only on home page, just change on index.php file.
    Thanks

    I already made the change in search.php index.php archive.php and still not look the same, it appears disorganized in home!

    look:

    http://bajatuserie.com/ (disorganized)

    http://bajatuserie.com/the-walking-dead-s06e01-proper-hdtv-x264-killers-mega/ (organized)

    It is supposed to have to see the same way.

    like that:

    http://www.yourserie.com/anime/2015/11/26/fairy-tail-s02e85-480p-720p-hdtv-x264-horriblesubs-mega/

    http://www.yourserie.com/anime/

    You see as it appears in the same way? the letters are well positioned and not disorganized! thatks

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    Hi,

    That’s not going to look the same because both of them have different coding. If you want that to be like it then you will have to copy your single.php file’s loop to your index.php file. 🙂

    Regards,
    Hardeep

    I have to replace the code as it was at the beginning? that part of the code I copied single.php to index.php? all code? or a specific word?

    thanks

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    Hi,

    I’m kinda out on a vacation. Would it work if I tell you in details after I return? 🙂

    Regards,
    Hardeep

    OK enjoy 😀

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    I’m back! Tell me the issue in a nutshell and I’ll show you how to do it. 🙂

    Theme Author Hardeep Asrani

    (@hardeepasrani)

    Try replacing the index.php file with the following:

    <?php get_header(); ?>
    	<div class="content-sidebar-wrap">
    		<main class="content">
    			<?php if (have_posts()) : ?>
    			<?php while (have_posts()) : the_post(); ?>
    				<article id="post-<?php the_ID(); ?>" <?php post_class('entry'); ?>>
    					<header class="entry-header">
    						<h1 class="entry-title" ><?php the_title(); ?></h1>
    						<p class="entry-meta">
    							<time class="entry-time"><?php the_time( get_option( 'date_format' ) ); ?></time> <?php _e( 'by', 'the-funk' ); ?> <span class="entry-author"><?php  the_author_posts_link(); ?></span> <span class="entry-comments-link"><a href="#comments"><?php echo get_comments_number();?> <?php _e( 'Comments', 'the-funk' ); ?></a></span>
    						</p>
    					</header>
    					<?php if ( has_post_thumbnail() ) : ?>
    						<p><?php the_post_thumbnail(); ?></p>
    					<?php endif; ?>
    					<div class="entry-content">
    						<span><?php the_content( __( 'Read the rest of this entry &raquo;', 'the-funk' )); ?></span>
    					</div>
    					<footer class="entry-footer">
    						<p class="entry-meta">
    							<?php wp_link_pages('before=<spam id="page-links">' . __( 'Pages:', 'the-funk' ) . ' &after=</spam>'); ?>
    							<span class="entry-categories">Categories <?php the_category(', '); ?></span>
    							<span class="entry-tags"><?php the_tags('Tags: ', ', '); ?> </span>
    						</p>
    					</footer>
    				</article>
    			<?php endwhile; ?>
    				<div>
    					<?php if ($wp_query->max_num_pages > 1) : ?>
    						<?php if (current_theme_supports( 'loop-pagination' ) ): ?>
    							<?php include (TEMPLATEPATH . '/assets/lib/pagination.php'); ?>
    								<nav id="post-nav">
    									<?php loop_pagination(); ?>
    								</nav>
    						 <?php else : ?>
    								<div class="alignleft"><?php previous_posts_link( '&laquo; Previous Entries', 'the-funk' ); ?></div>
    								<div class="alignright"><?php next_posts_link( 'Next Entries &raquo;', 'the-funk' ); ?></div>
    						<?php endif;?>
    					<?php endif; ?>
    				</div>
    			<?php endif; ?>
    		</main>
    		<?php thefunk_sidebar(); ?>
    	</div>
    </div>
    
    <?php get_footer(); ?>
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Post full article exactly like the writing!’ is closed to new replies.