Black Pig
  • Home
  • Code
  • How To’s
  • Downloads
Select Page

Slick Slider

May 13, 2021 | Uncategorized

Use a Shortcode in a Widget to Display Year

Jan 5, 2021 | WordPress

Display the current year in a widget using a shortcode.

Security Headers for WordPress .htaccess File

Dec 30, 2020 | Security, WordPress

How to manually add the recommended security headers to your website.

Display Any Divi Module With a Shortcode

Nov 20, 2020 | Divi, WordPress

Use this code to display any Divi module with a shortcode. The module must be saved in the Divi Library.

Divi Menu Item Opacity on Hover

Oct 28, 2020 | Divi

This will cause the Divi menu item to not fade on hover.

Simple Search Form for WordPress

Oct 21, 2020 | PHP, WordPress

This is a simple search form to use in WordPress

Play & Pause HTML5 Video with Buttons

Oct 16, 2020 | HTML, Video

Use buttons to control the play and pause functions on HTML5 videos.

WP_Query Order Posts by Advanced Custom Field.

Oct 8, 2020 | Advanced Custom Fields, WordPress

WP_Query order query results by ACF field.

Create a Custom Taxonomy for Custom Post Type

Oct 5, 2020 | WordPress

This will make categories that only the assigned CPT can use.

« Older Entries
Next Entries »

Categories

  • Advanced Custom Fields
  • Bootstrap
  • CSS
  • Divi
  • Email
  • Flexbox
  • HTML
  • jQuery
  • PHP
  • Security
  • Uncategorized
  • Video
  • WordPress
© 2020 Black Pig Snippets [year]