Https and Http for iFrame

Because your server is HTTPS, the only way you can accomplish this is rendering the content on your server or getting the 3rd party to upgrade their server content to HTTPS. It’s just the rule of the Internet. To fix the mixed content issue, pull all the JS and HTML you need into your own … Read more

Meta Tag “description”

Do not add meta tags in post editor. Best way to do is use SEO plugins. Best plugin for SEO is Yoast Seo Or add this code in your themes header.php just after title tag. <meta name=”description” content=”<?php if ( is_single() ) { single_post_title(”, true); } else { bloginfo(‘name’); echo ” – “; bloginfo(‘description’); } … Read more

How to place copyright next to footer menu?

You can achieve this by enclosing them in divs like in following line of your code <p id=”copyright”>&copy; <?php echo date(‘Y’);?> <?php bloginfo(‘name’); ?> | <?wp_nav_menu( array( ‘theme_location’ => ‘new-menu’, ‘container_class’ => ‘secondary-footer’ ) ); ?></p> Enclose above code in divs like this <div style=”float:left;width:50%;”><p id=”copyright”>&copy; <?php echo date(‘Y’);?> <?php bloginfo(‘name’); ?> | </div> <div … Read more

All wordpress site went white blank screen

First, backup your site before you do anything. This is what I do when encounter such kind of problem: 1.Turn WP_DEBUG as true in your wp-config.php 2.Using default theme to see if the site is ok or not. 3.Deactivate all plugin to see if the site is ok or not. 4.Activate the plugins one by … Read more

product description text displays above website when in shop page [closed]

Your product descriptions contain html code which is inserted into description meta tags without proper escaping. The resulting meta tags look like this: <meta property=”og:description” content=”<p class=”p1″>100% Natural Anti-Ageing Face Cream with Marine Collagen, Elastin &amp; Essential Proteins – Anti-Wrinkle Cream to Repair, Restore, Rebuild &amp; Rejuvenate Skin</p>” /> The problematic part is <p class=”p1″> … Read more

Redirect WP 404 to html

It looks like you have it: ErrorDocument 404 http://domain.com/custom_404.php You just have to create the static 404 page called custom_404.php in your child theme or the root of your domain. Child theme would be: http://domain.com/wp-content/themes/child_theme/custom_404.php

Whitespace Before Doctype

Remove ?> in the end of all php files in your theme or plugins. Download WP archive and copy it to your working directory with replacing all files. It will replace all core WP files, so if there was a whitespace added – it will be removed.

Convert bookmarks.html file into WP posts

UPLOAD The simplest way would be to use a form plugin. People like Contact Form 7, WPForms, other people like Gravity Forms. If you want the uploads to be from WordPress users only. You can hide the form in a password page, generate forms through shortcode on PHP conditional. etc. You can create your own … Read more