Forums

Add a single random text to a category (10 posts)

  1. FFS.AI
    Member
    Posted 6 months ago #

    Dear all,

    I can´t figure out how to put a fixed text between only a single category headline and posts; out of four categories.

    I already found a plugin called Randtom Text , which enables me to post text between category headlines and posts. However, this text appears between all four category headlines and posts.


    To make myself clear, here an exmaple
    .

    Link: example-blog.org/category/example/

    Category Headline

    That´s where I want to have the "example text"

    Posts

    And the "example text" should not appear on category/example1, category/example2, category/example3 ...

    Any help is highly appreciated.

  2. Arru
    Member
    Posted 6 months ago #

  3. FFS.AI
    Member
    Posted 6 months ago #

    Yes, thanks. But how to I include hyperlinks in the text I added into "This is the text to describe category A"?

  4. Arru
    Member
    Posted 6 months ago #

    What kind of links do you need to add?

  5. FFS.AI
    Member
    Posted 6 months ago #

    Links to other pages of my side.

    I want to have a short text informing the readers about the category. Then it would like to add two links each to "Team" and "Partnerblogs".

  6. chevg8
    Member
    Posted 6 months ago #

    buddy im not sure if i understand your question but if i do i would use 'if' tags (php) to make it work the way you want to.

    meaning it would be like > 'if' this is category A 'say' this is category A description.
    you will have to add CSS fields for the aesthetics.

    and so on.

    you can read up wordpress codex for if tags i am sure they are available.

  7. Arru
    Member
    Posted 6 months ago #

    I suppose you'd have to use permalinks or page ID-s

    <a href="index.php?page_id=42">Page title</a>

    It's from: http://codex.wordpress.org/Linking_Posts_Pages_and_Categories

  8. Arru
    Member
    Posted 6 months ago #

    I'm a bit confused... How familiar you are with templates and php?

  9. FFS.AI
    Member
    Posted 6 months ago #

    Dear Arru,

    Thank you so much for your help.

    As you surely have guessed, I´m a full WordPress newbe.

    Nevertheless, I already figured out the permalinks thing. However, I am wondering how to make and/or change breaks within the text.

    Now the modified category looks like this.

    "Beginning of text..................................... .......................................................
    ..............................end of text"
    LINK 1
    LINK 2
    LINK 3
    LINK 4

    But I want it to look like:

    "Beginning of text..................................... .......................................................
    ..............................end of text"

    LINK 1 LINK 2 LINK 3 LINK 4

    I just can´t figure out how to make the break between text and links and how to bring in the links into one line.

    Once again, thanks for you help!

  10. Arru
    Member
    Posted 6 months ago #

    I'm new to WordPress and Web design also, so I was wondering if you are trying to do something I dont get yet or not. ;)

    It's the html paragraph tag which makes new paragraph (and new line) to begin. You must put all the links in one paragraph to have them in one line. You can read about paragraphs (and html) from here:
    http://www.w3schools.com/html/html_paragraphs.asp

Reply

You must log in to post.

About this Topic