Homepage not loading correctly, only after refreshing

You can change your current theme to storefront and check whether the scripts and styles are properly enquequed. use this format to enqueque style and scripts and inspect the code for debugging class yourPluginName { public function __construct() { add_action(‘wp_enqueue_scripts’, array($this, ‘enqueue’)); } public function enqueue() { wp_enqueue_script(“jquery”); wp_enqueue_script(‘my-js’, plugins_url(‘/script.js’, __File__)); wp_enqueue_style(‘my-theme’, plugins_url(‘/style.css’, __File__)); }

How to improve WordPress website SEO and traffic, and or fix SEO issues

Improving the SEO of a WordPress website and increasing traffic to the site can be achieved through a variety of methods, including: Optimizing content: Create high-quality, unique, and relevant content that includes keywords and meta descriptions. Use of Keyword-rich permalinks: Make sure that your permalinks are keyword-rich, rather than using the default number-based permalinks. Optimize … Read more

Adding date and time to the same request

If you’re trying to get an ISO8601-formatted datetime, you can just use get_the_date() as it’ll actually return the date and time a post was published. So something like get_the_date( ‘c’ ) should get you the date and time, formatted how you want them (per your comment).