Tag Info

New answers tagged

1

I just ran your website through pingdom and gtmetrix. Neither of them are showing extreme slowness - so far, as I repeat a few times, I'm getting variance between 3 and 6 seconds. Your website loads quickly enough for me in my browser. Have you changed something since you made this post? Do you notice the same speed issues when you open an incognito browser ...


1

Well I looked at the website using FireFox I hit F12 and went to the Network tab. Hit the refresh button within the tab. This is the result I got a bunch of your CSS and images are taking a really long time to load. https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor#Performance_analysis


0

Whilst I appreciate it's not the solution anyone would want after they've chosen to host on an Azure Web App, I'm yet to find anyone with a solution to this problem and I've spent a long time looking. I also debugged every one of our plugins and our theme with a fine tooth comb and still could not find the cause. All I could be sure about was a vanilla ...


0

You can add categories and pages with a hook function add_taxonomies_to_pages() { register_taxonomy_for_object_type( 'post_tag', 'page' ); register_taxonomy_for_object_type( 'category', 'page' ); } add_action( 'init', 'add_taxonomies_to_pages' );


0

You can TEST THE TIME of get_option (100 iterations) using this code (put in functions.php or somewhere): add_action('wp','My_Test'); function My_Test(){ var_dump(microtime(true)); for ($i=1; $i<100; $i++) { get_option('blogdescription'); } var_dump(microtime(true)); for ($i=1; $i<100; $i++) { get_theme_mod('blogdescription'); } ...


0

Another Method is to add this code into functions.php (or in plugin), without need of require '/path/to/wp-load.php'... but it will not be as faster as SHORTINIT : // EXAMPLE function MyFuncion(){ if (isset($_POST['mynamee'])) { echo get_option('my_nm');} } //===================Then==================== //1) Execute directly MyFunction(); ...



Top 50 recent answers are included