WordPress.org

Forums

How to get post title prefixes? (6 posts)

  1. faeronsayn
    Member
    Posted 3 years ago #

    Hello Guys,

    I have some trouble, I want to have prefixes for my post titles.

    So for example, if I had the following post title

    Resolved Playstation port 3

    Now thats currently the title, I want the word "Resolved" to be a prefix, which can be added so the actual name of the post would be "Playstation port 3" and "Resolved" would be the post prefix.

    The only reason I want to do this is, when I query the posts with a plugin I don't want the posts to be grouped together. If half the post titles started with resolved, they would all be grouped together, I don't want that and thats why I need a "prefix" for "Resolved".

    If this is possible please let me know, this is very important for my site, as this is the basis of my whole wordpress site.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    So you want all of your posts titles to be prefixed with the word "Resolved" on displayed web pages?

  3. faeronsayn
    Member
    Posted 3 years ago #

    When I am querying them I want them to have prefixes. I just want them to have two different prefixes. Like for all posts there are only two different prefixes that I want in the post title when querying. Its mainly the way it is displayed and arranged. Thats the only reason I want the post title prefixes.

    So for example if we had two posts with the same names like the following.

    Complete Playstation 3
    Resolved Playstation 3

    Now without the prefixes, meaning the Complete and Resolved were actually in the post titles, when I would query these posts on a page, these two posts will end up at different places because of the "C" and the "R" ... but if Complete and Resolved were prefixes when querying post to display both of these posts will end up beside each other and thats because of the "P".

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Still not getting it here...

    If these prefixes are not part of the actual post titles, how do you intend to distinguish between them? Will they be in different categories? Ave different tags? Or something else?

  5. Mo7sin
    Member
    Posted 2 years ago #

    @esmi

    i wanna add suffix to specific posts .. any idea? :)

  6. esmi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic