Adding new sort order to blocks

Posted in: Newspaper
Post count: 36

Is there some API to add new sort order to blocks or change behavour of existing?

I see there are no sticky posts, any particular reason you disabled it?

Post count: 23312

Hello ivpt,

Unfortunately, please notice that our theme does not have such an option that offers you a simple way to add a new sort order for blocks, sorry! If you want to add something like that, notice that is not a simple task and you can only bring a new sort order only if you will add some conditions through code for this and if you are not an experimented person and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you! All the modifications should have done in td_data_source.php, like this -> http://screencast.com/t/fxANj6eN and then, in td_config.php core file you will have to declare your custom sorting, like this -> http://screencast.com/t/IqbPXLuHeH6 As you can see, this is not a simple task.

Thanks for your understanding!

Post count: 36

Can you add some filters for this task, to avoid changing your code?

Also wondering is there any particular reason you’ve disabled sticky posts?

Post count: 23312

Hello ivpt,

Unfortunately, at the moment, our theme does not have any such an option for this, sorry! The only alternative in this regard is to make this from coding.
The sticky posts were removed because they created layout issues that could not be overcome with our theme modules and blocks. We are aware that it limits a WordPress functionality but our theme also brings much more functionality to the table.

Thanks for your understanding!

Post count: 14

Hello
I’m going to try this work late.

However, the td_data_source.php file does not appear to exist in the current version.
Can you tell me where the files that function have been moved?
It will be helpful if you tell me the route.

Thank you.

Post count: 18283

Hello !

Now the file can be found in here: https://www.screencast.com/t/lnu1vYDt

Thank you !

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.