Where is functions.php located? I can’t find it.
Can you help me out here? I’m unclear which functions.php file to tweak
Sorry, I don’t check the forums daily.
You can use the theme’s functions.php file or better yet in a wp-content/mu-plugins/ – create a new PHP file here with the code.
Thanks for this information. Unfortunately, because my WordPress site is hosted elsewhere (1 and 1 IONOS), the folder is read only (’43’) it won’t let me add anything to that location.
I’m not very experienced with php (hardly at all actually!) and wondered if there is a work-around?
Can you edit your theme’s functions.php? This is is wp-content/themes/[THEME NAME]/functions.php
Any reason that they block your folder? I’m not familiar with such hosts but it sounds a bit funny it’s locked.
Another option is to see if you can use a functional plugin – see here: https://brianhogg.com/functional-wordpress-plugins/
If you have any dev company who helps you with the site, they should also be able to assist on this.
I’ll take a look at
I’m not familiar with using php, so do I just add your suggested script at the end of the above… Or somewhere else.
(1 and 1 IONIS is a major player in Europe for domains and hosting. I think they lock it down because I pay them to ‘manage it’ and they don’t want an amateur like me ‘breaking it’. 😊 )
Let me know about whether it matters where I place YOUR script in the existing theme’s functions.php.
Appreciated! ☺ 👍
PS It tried the functional script idea and it didn’t make any difference to the order of the posts 🙁
Are you in a position to ask them to do this change for you?
You can edit your current theme’s functions.php – it might be possible to edit it from Appearance / Editor and find and edit the functions.php
Copy paste this at the end. If there is a closing
?>at the end, put the code just before that.
Thanks again Ajay
I’m on it – I’ll let you know!
Hi again Ajay
I’ve had a closer look at the ‘Appearance’ function within WordPress, but apart from the ‘additional CSS’ window there’s no facility to add the extra code of any sort.
I’ve emailed IONIS to see if they’ll make the change for me (a good suggestion – thanks).
If they won’t (which, based on recent experiences, they’re unlikely to comply) I’m going to try contacting Brian Hogg and determine why his suggestion didn’t work.
‘Onwards and upwards!’ 🙂
Thanks Steve. In a few versions further, I will implement this feature as it has been asked by a few people.
The next version will be focused on moving the options into the Settings API to make it similar to my other plugins.
I’ll be happy to test it for you! 🙂
Thanks for developing this Plugin! 👍
Any news on when ‘chronological’ sequence will be an option?
This will be in v2.7.0.
You can follow the development in this repo – https://github.com/WebberZone/contextual-related-posts/issues/85
Please note it is a few weeks away given the recent release. You could beta test the version once I close the above ticket in the repo if you are in a position to replace the plugin files.
- The topic ‘Reverse Chronological’ is closed to new replies.