Forums

[resolved] Using more tag makes article dissapear (17 posts)

  1. StoarceCreierul
    Member
    Posted 1 year ago #

    I have read all other posts regarding the issue I have with the more tag, and the codex documentation reffering to it.

    Using more tag makes my whole article dissappear. It keeps only the title and other functions like comments. This happens no matter the theme used (it doesn't display my post even when I'm using the Classic 1.5 and Default 1.6 themes).
    I am using it right: <--more--> after the paragraph I want to break. I even tried leaving empty rows before and after. The whole post content is missing on the main page.
    I disabled all plugins - same result. I am using permalinks with custom structure /%postname%/ and a writable .htaccess file in root (where install dir is). Doesn't work also when using the default permalinks settings.
    The reading settings are set to Full text.
    Using WordPress version 2.9.2 on Firefox 3.5.8, also tested on GoogleChrome and IE7.

    My intention is to see the first post fully and the rest only teasers (defined by me, not the automatic first 55 words of the post). Also, using the excerpt box doesn't help - it displays the full post (if I remove the more tag from the post, otherwise it displays no post content at all). But using excerpts doesn't relate to my problem.

    I'm not using categories. In my current theme I disabled viewing "posted in uncategorized", but it is displayed when I switch to other themes. I'm not going to categorize any post content, so they will all be uncategorized. My category template contains the_content (I can copy paste any section needed).

  2. Samuel B
    moderator
    Posted 1 year ago #

    I am using it right: <--more--> after the paragraph I want to break

    actually that's not correct
    this is correct
    <!--more-->

    review further
    http://codex.wordpress.org/Customizing_the_Read_More

  3. StoarceCreierul
    Member
    Posted 1 year ago #

    Yes you are right, I just copyed the wrong thing in my post.
    I am using it as you wrote.

    I have double checked your link. My post content is still missing.

  4. Samuel B
    moderator
    Posted 1 year ago #

    look at the link I supplied for what you want to do

  5. StoarceCreierul
    Member
    Posted 1 year ago #

    Maybe I posted too much information...
    The link you supplied is about customizing a function that for some reason doesn't work.

    If I insert <!--more--> in my post, the whole post content dissapears in the main page.

  6. Samuel B
    moderator
    Posted 1 year ago #

    post your theme's index.php here
    http://wordpress.pastebin.ca
    and come back with the link

  7. StoarceCreierul
    Member
    Posted 1 year ago #

    It is not theme related. I switch to classic and/or default theme - nothing changes.

  8. Mark / t31os
    Moderator
    Posted 1 year ago #

    Then maybe the problem is with something in the post itself.

    Are you copying and pasting content into the editor?
    Do you have any plugins installed and/or activated?

  9. StoarceCreierul
    Member
    Posted 1 year ago #

    I deactivated all plugins. Nothing.

    When I see the source of the page, somewhere in those lines the text appears as it should: only the portion I selected to be seen, then the "read more" code and link.

    But the browser shows no post (and I tried with different browsers on different computers).

  10. Mark / t31os
    Moderator
    Posted 1 year ago #

    Then you'll need to do one of two things..

    Provide a link so someone can look at the problem, or secondly provide a pastebin for whatever files you've made adjustments to..

    Beyond that it's just speculation, or a best guess as to the cause.

  11. StoarceCreierul
    Member
    Posted 1 year ago #

    Sure - just tell me where should I send the link, and/or credentials for logging in.

  12. Mark / t31os
    Moderator
    Posted 1 year ago #

    I don't think we necessarily need a login, just a link to your website to the see the problem should be sufficient.

    If you would prefer not to give out your URL for personal reasons, post the link minus the http:// and www .. (i can always remove the link for you if necessary)..

  13. StoarceCreierul
    Member
    Posted 1 year ago #

    stoarcecreierul dot ro

    I just enabled the WordPress Default 1.6 theme and deactivated all plugins.

    I must leave now but will come back tommorow.

    Thank you!

  14. Mark / t31os
    Moderator
    Posted 1 year ago #

    Ok, i will wait for your response tomorrow.

    For when you get back though...

    When you're writing your post, are you doing so using the Visual or HTML tab of the editor, the procedure for the more tag is different depending on which you use..

    If Visual there's a button for it..
    If HTML then the method described above..

  15. StoarceCreierul
    Member
    Posted 1 year ago #

    Alright, figured it out.

    I was writing in HTML. And I had a code that messed with the more function.
    I posted an image inside a frame
    <img class="postimage" style="background: url(http://www.my*site.ro/images/venus5.jpg) top left no-repeat;" src="http://www.my*site.ro/wp-content/themes/cooltheme/images/imageframe.png" />
    The problem was the code before that:
    <title="You are reading: interesting article">
    For some reason this, in conjunction with <!--more-->, made my post disappear.

    Thank you for your patience and support!

  16. Mark / t31os
    Moderator
    Posted 1 year ago #

    Glad to hear you were able to track down the problem.. :)

  17. yogesvamp
    Member
    Posted 1 year ago #

    after using the more tag it displays (more..) after the content.
    i want to remove that (more..) because i'm already using

    {" rel="bookmark" class="more "title="Permanent Link to <?php the_title(); ?>">Read More»}

    please help ..

Topic Closed

This topic has been closed to new replies.

About this Topic