• Hello all,

    trying to remove the red read more block links on my site http://www.thefitnessclinician.com I have read it is located in index.php but cannot locate which line to delete. Any recommendations? Any help would be greatly appreciated.

    <?php get_header(); ?>
    
    		<div id="subhead_container">
    
    			<div id="subhead_wrapper">
    				<div id="subhead">
    
    		<h1><?php if ( is_category() ) {
    		single_cat_title();
    		} elseif (is_tag() ) {
    		echo (__( 'Archives for ', 'Hero' )); single_tag_title();
    	} elseif (is_archive() ) {
    		echo (__( 'Archives for ', 'Hero' )); single_month_title();
    	} else {
    		wp_title('',true);
    	} ?></h1>
    
    			</div>
    
    	<div class="clear"></div>		
    
    			</div>
    				<hr />
    		</div>
    
    		<!--content-->
    		<div id="content_container">
    
    			<div id="content">
    
    				<div id="left-col">
    
    			<?php get_template_part( 'loop', 'index' ); ?>
    
    </div> <!--left-col end-->
    
    <?php get_sidebar(); ?>
    
    	</div>
    </div>
    <!--content end-->
    
    </div>
    <!--wrapper end-->
    
    <?php get_footer(); ?>

    [Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

    or is it located somewhere else?

    Sincerely,
    Craig M.

Viewing 15 replies - 1 through 15 (of 23 total)
  • follow the hint in this line:
    <?php get_template_part( 'loop', 'index' ); ?>
    and look for a loop.php or loop-index.php, and continue searching in there for the ‘read more’.

    Thread Starter cmurway

    (@cmurway)

    Hello and thanks for the reply!

    Found the loop.php

    <?php /* If there are no posts to display, such as an empty archive page */ ?>
    <?php if ( ! have_posts() ) : ?>
    		<h1><?php _e( 'Not Found', 'Hero' ); ?></h1>
    		<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'Hero' ); ?></p>
    		<?php get_search_form(); ?>
    
    <?php endif; ?>
    
    <!--loop starts here-->
    
    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    			<div class="post-head">
    
    			<h1><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'Hero' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php if ( get_the_title() == '' ) { _e( '(No title)', 'Hero' ); } else { the_title(); } ?></a></h1>
    
    			</div><!--post-heading end-->
    
    			<div class="meta-data">
    
    			<?php Hero_posted_on(); ?> in <?php the_category(', '); ?> | <?php comments_popup_link( __( 'Leave a comment', 'Hero' ), __( '1 Comment', 'Hero' ), __( '% Comments', 'Hero' ) ); ?>
    
    			</div><!--meta data end-->
    			<div class="clear"></div>
    
    <div class="post-entry">
    
    	<?php if ( is_archive() || is_search() ) :  ?>
    
    			<?php the_content( __( '<span class="read-more">Read More</span>', 'Hero' ) ); ?>
    			<div class="clear"></div>
    			<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'Hero' ), 'after' => '' ) ); ?>
    
    	<?php else : ?>
    
     	<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(620,240), array("class" => "alignleft post_thumbnail")); } ?>
    
    			<?php the_content( __( '<span class="read-more">Read More</span>', 'Hero' ) ); ?>
    			<div class="clear"></div>
    			<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'Hero' ), 'after' => '' ) ); ?>
    	<?php endif; ?>
    
    	<!--clear float--><div class="clear"></div>
    
    				</div><!--post-entry end-->
    
    		<?php comments_template( '', true ); ?>
    
    </div> <!--post end-->
    
    <?php endwhile; // End the loop. Whew. ?>
    
    <!--pagination-->
    	<div class="navigation">
    		<div class="alignleft"><?php next_posts_link( __( '← Older posts', 'Hero' ) ); ?></div>
    		<div class="alignright"><?php previous_posts_link( __( 'Newer posts →', 'Hero' ) ); ?></div>
    	</div>

    [Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. As it stands, your posted code has been permanently damaged/corrupted by the forum’s parser.]

    Thread Starter cmurway

    (@cmurway)

    I was able to remove the red block but the links are still there..any suggestions would be greatly appreciated.

    Thread Starter cmurway

    (@cmurway)

    not able to customize anything with this theme…can anyone please give me some suggestions. Ready to throw in the towel.

    Thread Starter cmurway

    (@cmurway)

    Woohoooo got rid of the bottom links!! but having trouble with the download now

    <div class=”one_third last”><?php if(of_get_option(‘welcome_button’) != NULL){ ?>
    “><?php echo of_get_option(‘welcome_button’); ?>
    <?php } else { ?> “> <?php echo “download now”?> <?php } ?></div>
    <hr />

    which part do i get rid of to remove that but without losing the top border?

    Thread Starter cmurway

    (@cmurway)

    @andrew nevins

    I would stick to my own thread but it does not seem to help…so I figured out how to search for similar threads..thanks.

    Thread Starter cmurway

    (@cmurway)

    I honestly thought maybe someone in that thread knew the answer rather than me typing to myself on this one and you close it..i think it is extremely rude to “reprimand” a paying customer who is just needing help and advice. thanks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re paying for something, you need to seek help from that item’s vendors. These forums cover issues regarding free themes/plugins or the core application that are available on WordPress.org.

    Thread Starter cmurway

    (@cmurway)

    SO I am not allowed to ask for advice?

    Thread Starter cmurway

    (@cmurway)

    thought that is what this forum is for.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Narrowing that down; you’re not to press anyone to support you with commercial products on WordPress.org forums.
    http://codex.wordpress.org/Forum_Welcome#Commercial_Products
    http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff

    Thread Starter cmurway

    (@cmurway)

    WOW…I thought paying for 2 years of hosting through Godaddy and using your WP service would at least account for something.

    Thread Starter cmurway

    (@cmurway)

    The theme was free

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Then you can ask support for it.

    Thread Starter cmurway

    (@cmurway)

    I am at a loss here.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Removing red read more block links on Hero theme’ is closed to new replies.