Code Snippets

Kadence WP – Remove Column From Content Flow On Mobile

Goals: 1) On desktop, laptop, tablet: fill screen with 2 columns (that have unique content in each column). 2) On mobile phone: display only 1 column (and its content) and remove the other column (and its content) from the content flow. The final CSS that accomplishes the goal The desktop layout is made using the …

Kadence WP – Remove Column From Content Flow On Mobile Read More »

Add New Menu to WordPress Site Using Code

1. Register a new menu in WordPress admin Use WordPress’s register_nav_menus to register the menu so it appears in Appearance > Menus > Menu Locations. Place the below PHP code in Code Snippets plugin: Important: In the Code Snippet plugin, right below the PHP code, make sure and choose Run snippet everywhere. Otherwise the newly-registered …

Add New Menu to WordPress Site Using Code Read More »

WooCommerce Shop "This is where you can add new products to your store"

WooCommerce Shop – Remove “This is where you can add new products to your store”

Remove “This is where you can add new products to your store” Remove the description text from just below the “Shop” title on the WooCommerce Shop page. I have no idea why this description text even exists! Note: This will NOT remove the description text from other Product Category Pages. Source: https://wordpress.org/support/topic/remove-text-this-is-where-you-can-add-products-to-your-store/#post-11548982 I use the …

WooCommerce Shop – Remove “This is where you can add new products to your store” Read More »

Facebook Pixel – Manual Integration

Notes on: Facebook Pixel Code About Facebook Pixel Standard and Custom Events – Facebook Here’s what your website code will look like with standard or custom events installed: Your website’s original code. Your Facebook pixel base code. Your standard or custom event code. The example above shows an add to cart event, which is a …

Facebook Pixel – Manual Integration Read More »

Scroll to Top