• Hello,

    I’ve fruitlessly tried to delete the “Continue reading…” at the end of my posts.

    I used one or two of the tips given here, but I figured it may be a good idea to have someone checking the actual page.

    I’m not using an official WP theme, and I guess this is where the problem comes from. Most of the solutions given here don’t seem to apply to the files I find in my FTP.

    Here is the link.

    Any hero around ? ๐Ÿ˜›

Viewing 13 replies - 1 through 13 (of 13 total)
  • What theme are you using? Where did you download it from?

    please contact the theme’s developer for support (via themeforest?);
    http://codex.ww.wp.xz.cn/Forum_Welcome#Commercial_Products

    Thread Starter Havrenne

    (@havrenne)

    The theme is Atlas, by peerapong, on themeforest.

    The question has been asked already, but unfortunately, the author doesn’t help with “custom modifications”.

    What shall I do ?

    If you want remove the link ‘Continue reading >>’ you can hide the php code in post.php (but i am not sure this link written in this exact place in this theme.) but i am sure you hide.

    [moderated – please keep the support in the forum; don’t ask for access data to someone’s ftp or site]

    Thread Starter Havrenne

    (@havrenne)

    Hum, thanks, but I don’t find any post.php

    I actually found a “Continue reading” line in blog.php

    There’s a part of the code that clearly seems related. I tried to delete the whole following extract, or pieces of it, but there was no change.

    <?php
    							    $pp_blog_full_post = get_option('pp_blog_full_post');
    
    							    if(!empty($pp_blog_full_post))
    							    {
    							?>
    								<div class="post_excerpt">
    							<?php
    							    	the_content();
    							?>
    								</div>
    							<?php
    							    }
    							    else
    							    {
    							?>
    
    							    	<?php echo get_the_content_with_formatting(); ?>
    							    	<br/><br/><br/>
    
    <a href="<?php the_permalink(); ?>"><?php _e( 'Continue Reading', THEMEDOMAIN ); ?> ยป</a>
    
    							<?php
    							    }
    							?>							
    
    						</div>
    						<!-- End each blog post -->

    yes that’s right blog.php

    this is the line to hide the code but dont delete anything it will affect other thing

    <a href="<?php the_permalink(); ?>"><?php _e( 'Continue Reading', THEMEDOMAIN ); ?> ยป</a>

    put php comment like this in this line of code

    <?php /*?> <a href="<?php the_permalink(); ?>"><?php _e( 'Continue Reading', THEMEDOMAIN ); ?> ยป</a> <?php */?>

    i am sure it works for you.

    Thread Starter Havrenne

    (@havrenne)

    No ๐Ÿ™

    But maybe there’s a mistake ?

    I see you wrote <?php /*?> first and <?php */?> after.

    I guess only one version is correct ?

    yes sorry by mistake I done this mistake. I just hide the code what you have in the theme.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I guess only one version is correct ?

    The first opens the PHP comment and the other close it.

    Yes , you are right Andrew .

    Thread Starter Havrenne

    (@havrenne)

    Thank you both, but unfortunately… Still not working :/

    It acts as if the change had to be done somewhere else, despite all likelihood.

    Have you asked the developer of the theme – as suggested above? We don’t have access to commercial themes – so he’d be the one to give you the best advice.

    EDIT – sorry, just reread your post above – that’s certainly unfortunate, but since we don’t have access to them, it’s the kind of thing that’s quite difficult to help with :(.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Continue reading…’ is closed to new replies.