How to remove WP Title Tag?

The default <title> can be handled by a template as a direct input in header.php or by the theme setup or options screen in backend. If your theme won’t show up <title> tag in the header.php, then it’s pretty likely than the functions.php file has something like this: add_theme_support( ‘title-tag’ ); You can remove that … Read more

Change WordPress Resource URL

To dinamically change the stylesheet and template URI you can use stylesheet_uri filter and template_directory_uri filter. For example: add_filter( ‘stylesheet_uri’, function( $stylesheet_uri ) { $stylesheet_uri = ‘your new stylesheet URI here’; return $stylesheet_uri; } ); But, as you are using W3TC, you can configure that change in the plugin itself (Generic Mirror and Self-hosted CDN … Read more

How to get terms for taxonomy

Try this code <?php //list terms in a given taxonomy $taxonomy = ‘industry’; $tax_terms = get_terms($taxonomy); ?> <ul> <?php foreach ($tax_terms as $tax_term) { echo ‘<li>’ . ‘<a href=”‘ . esc_attr(get_term_link($tax_term, $taxonomy)) . ‘” title=”‘ . sprintf( __( “View all posts in %s” ), $tax_term->name ) . ‘” ‘ . ‘>’ . $tax_term->name.'</a></li>’; } ?>

Woocommerce Product attribute not imported with wordpress Importer [closed]

WordPress default importer will not work for WooCommerce product attributes. There is a plugin available to import WooCommerce products which handles import for products as well as their attributes. I’ll not paste the plugin URL here since it’s a third party plugin, but if you google for ‘WooCommerce import’, you will easily get that plugin.

Theme Check errors of theme code

Textdomain Error The error message mean, that you haven’t a textdomain. There is required for translation of this string. In the first error message is the problem the missing textdomain on the function _n_noop(). Right usage as example below. _n_noop( ‘Security Release’, ‘Security Releases’, ‘your_textdomain’ ); Text Domain Information about the textdomain find you in … Read more