I have created a Custom Field named ‘slides_number’. I would like to get the value in my homepage but this page works differently so I don’t have a page created in admin panel for home. So I have set the ‘slides_number’ custom field to a different page with ID=194.
Then, in mi view, I show a slider which needs to take the value f ‘slides_number’ to know how many posts to show. I do this: