Category: Wordpress

  • Add Polylang support to the ACF relationship

    Add Polylang support to the ACF relationship

    Polylang & Advanced Custom Fields Polylang is the most popular multilingual plugin available on the WordPress repository. As per their stats, there are 700,000+ users were installed this plugin on their sites. On the other hand, Advanced Custom Fields aka ACF is a wildly used plugin that allows you to take full control of the…

  • Fix Kadence Blocks and Toolset compatibility issues

    Fix Kadence Blocks and Toolset compatibility issues

    We are using Gutenberg Blocks by Kadence Blocks – Page Builder Features and Toolset plugin in our client site. Both have some use-full, clean and intelligent load blocks and options to extend Gutenberg’s editing capabilities. When using the Kadence tabs block, the styling are perfectly applied to the backend. But the frontend shows the weird…

  • How to solve tinymce virus scanner issue: PUA.HTML.Infected.WebPage-1

    Some virus programs detect js/tiny_mce/plugins/paste/js/pasteword.js as Infected file, to solve this issue, open the file and replace this line (8 th line) el.innerHTML = ‘<iframe id=”iframe” src=”javascript:\’\’;” frameBorder=”0″ style=”border: 1px solid gray”></iframe>’; With the following one: el.innerHTML = ‘<‘ + ‘iframe id=”iframe” src=”javascript:\’\’;” frameBorder=”0″ style=”border: 1px solid gray”></iframe>’;  

  • How to show category name in woocommerce products page

    <?php global $post; $terms = get_the_terms( $post->ID, ‘product_cat’ ); foreach ($terms as $term) { //$product_cat_id = $term->term_id; break; } ?> <h2 class=”page_title”><?php echo $term->name; ?></h2>