strange "read more" behavior in posts

  • Author
    Posts
  • #15589
    pigsound

    hi!
    i came across a problem with the “read more”-links in posts:
    when setting up a post and defining the place of the read more link, the post excerpt is correctly displayed together with the read more link.
    but when i reopen the post and make some changes (or even just hit the update button), the read more link behaves very strangely: sometimes it disappears (also in the source code), sometimes it shows up on a place in the text where it should not be.
    to find out why this happens, i switched to the twenty twelve theme. there, the read more links are correctly set and displayed.
    i also turned off all plugins to see if there is any that causes the bug, but none of them interferes with the read more button.
    please help me – why does the read more link not work properly?

    #15715
    Zed
    Cryout Creations mastermind

    You made quite a bit of changes to the themes.
    Did you make any changes to the theme’s excerpts functionality?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #15997
    pigsound

    hi zed,
    i looked it up. i have made changes to the content.php. after finding that out, i removed the content.php in my child theme to see if the use of the original content.php makes the read more button work properly – but still the button works rather by accident than by purpose.

    #21704
    pigsound

    hi zed,
    i wonder if you could help me with that problem…
    just to remind you: when i realized the problem, i changed back to your original parabola theme and there the excerpt links did not show properly either.

    thank you in advance,
    pigsound

    #21849
    pigsound

    hi zed,
    during my search for the bug causing the strange excerpt behavior i found out that when setting the excerpt “sticky post” to “show full”, the “featured image” will not be displayed. to make an image show, one has to place it in the text body.
    is that by purpose?

    pigsound

    #21850
    pigsound

    …and still trying to find that excerpt link bug…
    in the frontpage.php on lines 10 to 16, i found the following code, of which i am not sure, if i had left it original or changed it – can you tell me if this code is in original version?

    function parabola_excerpt_length_slider( $length ) {
    return 50;
    }

    function parabola_excerpt_more_slider( $more ) {
    return ‘…’;
    }

    #21890
    pigsound

    hi,
    still talking to myself in here… :-/
    in the meantime i could verify, that i have not made any change to the frontpage.php – the lines i quoted in my last post are exactly the same as in the original parabola theme file.

    i found out that the read more link works and appears after 20 words, as soon as i delete the “more” tag from the text.

    i hope all this information i am posting here can help you, zed, or anybody else, to help me get rid of this annoying bug.

    pigsound

    #24090
    pigsound

    hi,
    i wonder if you could give me any reply – and be it just to say that you cannot help me.

    pigsound

    #25884
    pigsound

    after 4 month waiting i wonder what the use of this forum is. it can not be for answering questions – maybe for learning how to be patient and await one’s fate meditating…!?
    this forum is just ridicoulos. shut it down.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘strange "read more" behavior in posts’ is closed to new replies.