Using Customizer value in an external PHP file inside a theme
Coming back to this thread after five years as it’s still wasn’t marked as answered. Milo in the comments pointed out the answer: Trying to avoid including wp-load.php
Coming back to this thread after five years as it’s still wasn’t marked as answered. Milo in the comments pointed out the answer: Trying to avoid including wp-load.php
As ialocin mentioned some requirements will require extra customizations. I can create a number of passwords to access the page You would create user accounts. Passwords don’t exist without users. An expiration date can be set for each password This isn’t implemented in wordpress and requires the most work. You could probably store a date … Read more
i fix it and yes it was cache problem i download this plugin and its work fine now http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-website-not-updating-right-away/
… from a custom WordPress page template to my child theme functions.php file… You can’t. And a global variable won’t help. The theme’s functions.php file loads first, before any other templates load. You can’t pass variables backwards to something that has already loaded. What I think you want to do, based on what your code … Read more
Are immediately-called actions not usable in themes?
you don’t need to edit functions.php (moreover don’t edit this line or it will break the localisation of the theme, because arcade, is the code used to know where to search translations) according to the line you read in functions.php, you have to put fr_CA.mo and fr_CA.po in wp-content/themes/arcade-basic/library/languages
The easiest way to do this is to make a Tags or Category page. The Masonry layout is called on these by default.
If you’ve modified the theme’s built-in stylesheet, then any changes would be overwritten when you update the theme. If that’s the case, you have a choice: either don’t update the theme, or move your modifications to any type of CUSTOM CSS area that the theme may provide.
I dont have an iPAd to hand to test this but I know that Safari likes to change phonenumbers into links which would override the current CSS which makes the text white. You will need to change the CSS to ensure links remain white. Try adding this CSS to your theme’s style.css: #main-site-caption #number { … Read more
This is because you most likely need to clear your cache. If you have any plugins like WP Super Cache or WP Fastest Cache installed then navigate to there settings and click clear all cache. Also if you have CloudFlare (or something similar) running on your website then you can purge the cache on that.