Before you ask please READ THIS

Reorder tags

in Rife Posts: 35
Hello,

My Client wants to change tags order on site https://skrzynecka5.js-metals.pl/i/portfolio/ from:
WSZYSTKO CIĄŻOWE LIFESTYLE SPORT STUDYJNE

to:
WSZYSTKO LIFESTYLE STUDYJNE CIĄŻOWE SPORT

How can i do it?

Kind regards,
Arek

Comments

  • AirAir
    Posts: 10,467
    Hello :-)

    This is not the theme thing. You will need some plugin for this https://www.google.com/q=wordpress+reorder+tags+order

    I don't have any recommendation.

    With kind regards.
  • Posts: 35
    Hello,

    Ok, I will search so on the internet :-)

    Kind regards,
    Arek
  • Posts: 35
    Hello,

    I have found nice plugin for sort tags https://pl.wordpress.org/plugins/simple-taxonomy-ordering/ but there is no tab with images tags on Rife Theme Albums folder.
    Is it possible to add tags tab with all images tags to Albums folder. Then I could sort all albums images tags like my Client wants?

    Kind regars,
    Arek
    Album-images-tags.jpg
    220 x 187 - 19K
  • AirAir
    Posts: 10,467
    Hey :-)

    Are we talking about tags in the single album? If yes, then it is not possible.

    I have just checked that tags added in each photo are sorted in an alphabet order ->
    rife\advance\utilities\cpt.php line 1573
    I don't see any way for you to sort them, as they only appear in one album and are not avaible anywhere else, so no script can act on them beforehand.

    Sorry if I misled you, as I was sure we were talking about Albums list, but now I see you have renamed single album to "portfolio".

    With kind regards.
  • edited July 7 Posts: 35
    Hey :-)

    No, we are talking about tags in all Albums.
    Of course Portfolio is most imortant album right now, but when I could sort tags on all albums it will have impact to Portfolio album too.

    Is it passible to add tab with images Tags to Albums folder or sort all images albums Tags in the other way but like my Client wants?

    Kind regards,
    Arek
    Post edited by Arek on
  • edited July 9 Posts: 35
    Hello,

    I have found solution. On file cpt.php line 1574 I have changed asort($filters); to asort($age); and then tags on site https://skrzynecka5.js-metals.pl/i/portfolio/ are sorted in the same order like photos order on album Portfolio.
    Thank you very much for guide :-)

    Kind regards,
    Arek
    Post edited by Arek on
  • AirAir
    Posts: 10,467
    Hey Arek :-)

    Interesting solution.

    Does this $age variable stand for something? If not, you can as well remove this line totally from the file:
    asort($filters);
    and it will have the same effect:-)

    Most important is that this is what you were looking for!

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion