WordPress Dashboard visible but site is not after migration

The plugin files need to be re uploaded. Could you please do the following: Backup /home6/poorric4/public_html/PR/wp-content/plugins/the-events-calendar/ delete the-events-calendar folder. Download the same version of events calendar from https://wordpress.org/plugins/the-events-calendar/developers/ (Do not upload the latest as there may be compatability issues) Go to the backend and confirm the plugin is active.

Loading css files conditionally useful?

There is no hard rule on this. Loading JS is discussed often because JS is more likely to conflict when a lot of plugins throw their scripts into the mix. CSS is less problematic in that regard. Still the same premise apply — you should aim for solution that performs well. In a situation you … Read more

Mysql Queries per Visit – Crazy High

It goes against the grain here to recommend plugins but that’s what you need here. To view in the browser; https://wordpress.org/plugins/query-monitor/ To view in WP-CLI; https://runcommand.io/wp/query-debug/ Both of these will list the queries and how long each one takes. That should give you enough information to make informed decisions about what to do in your … Read more

Create a custom and powerful search form

Alright folks, so APPARENTLY I managed to solve this myself. This code was provoking the “Starbucks case” that I was explaining before if(!empty($keywords)){ $args[‘s’] = $keywords; $words = explode(” “, $keywords); foreach($words as $word){ $slug = slugify($word); $categoria = get_category_by_slug($slug); if(!empty($categoria)){ array_push($cats, $categoria->cat_ID); } } $args[‘category__in’] = $cats; } I changed it to if(!empty($keywords)){ $args[‘s’] … Read more

Is there a way to move WPML scripts in footer?

It depends. As commented on OP, WPML documentation and support are very minimal on this front. I found that for me, the only culprit forcing jQuery to the head of the HTML was wpml-xdomain-data.js from sitepress-multilingual-cms/classes/url-handling/class-wpml-xdomain-data-parser.php:53. This script appears to handle some part of the language switchers and, as I have a custom language switcher, … Read more

Website is loading twice unnecessarily

Based on the result from Pingdom (https://tools.pingdom.com/#!/TlPTR/http://109.74.4.178/lotustravel/) it looks like the redirects are all from your advertising providers. So you don’t have much choice in how they work and there redirects.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)