WordPress.org

Ready to get started?Download WordPress

Forums

Removing red read more block links on Hero theme (24 posts)

  1. cmurway
    Member
    Posted 1 year ago #

    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.

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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'.

  3. cmurway
    Member
    Posted 1 year ago #

    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.]

  4. cmurway
    Member
    Posted 1 year ago #

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

  5. cmurway
    Member
    Posted 1 year ago #

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

  6. cmurway
    Member
    Posted 1 year ago #

    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?

  7. cmurway
    Member
    Posted 1 year ago #

    @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.

  8. cmurway
    Member
    Posted 1 year ago #

    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.

  9. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    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.

  10. cmurway
    Member
    Posted 1 year ago #

    SO I am not allowed to ask for advice?

  11. cmurway
    Member
    Posted 1 year ago #

    thought that is what this forum is for.

  12. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    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

  13. cmurway
    Member
    Posted 1 year ago #

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

  14. cmurway
    Member
    Posted 1 year ago #

    The theme was free

  15. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Then you can ask support for it.

  16. cmurway
    Member
    Posted 1 year ago #

    I am at a loss here.

  17. cmurway
    Member
    Posted 1 year ago #

    lets start over...My name is craig..lol

  18. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    It's only been 12 hours since a suggestion towards your issue. These are volunteering forums, therefore support is not as you'd expect from a paid service.

    If you require the level of support from a paid service, if the issue is urgent, consider hiring someone at http://jobs.wordpress.net .

  19. cmurway
    Member
    Posted 1 year ago #

    I figured out the changes that needed to be done on the Blog/site...but I cannot for the life of me get rid of the spacer next the "minimize your time & maximize your results"

  20. cmurway
    Member
    Posted 1 year ago #

    will do...sorry if I misunderstood...its 4am over and I have been working on this dang thing for at least 22 hours straight...(some breaks here and there).

  21. cmurway
    Member
    Posted 1 year ago #

    again my apologies.

  22. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Are you now stuck on this issue;

    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

  23. cmurway
    Member
    Posted 1 year ago #

    no I am ok with that one now...thanks...it was those red read me now buttons. thanks.

  24. cmurway
    Member
    Posted 1 year ago #

    When I removed the welcome button it left some empty box or space next to the wording Minimize Your Time & Maximize Your Results...I originally wanted to have the wording centered but I think it looks OK just the way it is...thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic