Tagged: x
-
AuthorPosts
-
November 19, 2016 at 2:10 am #1263428
riwaroParticipantHello,
I would like to sort my posts by title. All posts start with the date (german).01.01.2017
04.01.2017I found the following code in the forum, which I wrote into function.php (child).
Add_action ( ‘pre_get_posts’, ‘category_sort_by_title’);
Function category_sort_by_title ($ query) {
$ Query-> set ( ‘orderby’, ‘title’);
$ Query-> set ( ‘order’, ‘ASC’);
}How can I make it, that is not only sorted after the first number, but by the whole date.
Thank you and best regards
Thomas
November 19, 2016 at 2:53 am #1263446
RadModeratorHi there,
Thanks for writing in.
What do you mean by sorting or not sorting after the first number?
Thanks!
November 19, 2016 at 5:19 am #1263521
riwaroParticipantHello,
Current is sorted in this way.
01.01.2016
03.04.2016
05.11.2016
07.03.2016
09.01.2016It is sorted according to the first number (01, 03, 05, 07, 09). In Germany, the first number is the day.
It should be sorted.
Example:01.01.2016
09.01.2016
07.03.2016
03.04.2016
05.11.2016Thank you very much
Thomas
November 19, 2016 at 2:08 pm #1263763
RadModeratorHi there,
Thanks, you mean to change the date format right? What if 03.04.2016 is 04.03.2016 and you’re only seeing it wrong because of the expected format for Germany. Would you mind providing your site’s URL and login credentials? I can check it in Admin since posts listing has the date column and sorting option.
Thanks!
November 19, 2016 at 3:03 pm #1263780
riwaroParticipantHello,
I just want to change the order of the posts. I found the following plugin. But does not work.Post Types Order
Thomas
November 19, 2016 at 3:29 pm #1263788
riwaroParticipantHello,
i found a solution.
Simple Custom Post Order
Thank you Thomas
November 20, 2016 at 12:43 am #1264049
ChristopherModeratorGlad to hear that you were able to fix this.
November 20, 2016 at 4:44 am #1264171
riwaroParticipantHello,
I must unfortunately annoy again.
I have installed the Simple Custom Postorder plugin. So I can sort in the dashboard posts by Drag & Drop.
But It’s crazy….. The first line is o.k. But the second row on the website dispalays no longer the dates from left to right. From the second row the dates will be displayed from right to left.You can see it here:
http://example.riwaro.de/blog/
Greetings Thomas
November 20, 2016 at 4:47 am #1264173
riwaroParticipantsorry, this is the url.
November 20, 2016 at 6:24 am #1264226
ChristianModeratorIt sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
November 20, 2016 at 7:04 am #1264240
riwaroParticipanto.k.
Thank you
November 20, 2016 at 7:46 am #1264277
ChristianModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1263428 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
