Wordpress Theme Development with Docker and UnderStrap

Docker Set-up for Wordpress Development Define Services in a Compose File Reference # Version of the Compose file format # Version 3 is the most current and recommended one version: "3" # Top building block that defines # All containers used for this service services: # Container 1 # https://hub.docker.com/_/mysql…

Framework with Plugins and Tools for WordPress Theme Development for Marketing

Base Starter Theme: Underscore General CSS and Layout: Bootstrap Plugin Activation(requires plugins within theme): TGM Plugin Activation Plugins (Development Purpose) Theme Customizer: Kirki Template(/Page) Custom Field: ACF Plugins (Utilities) SEO: Yoast (Breadcrumb) Form: Contact Form 7 Social Media Sharing: Addthis Analystics: Baidu Tongji + Google Analystics Functions Editor: My…

Post Pagination with Page Number- WordPress Theme Development

Replace the default Old-New Pagination with Numbered Pagination Code <?php // Do not include the opening php code function numeric_pagination ($pageCount = 9, $query = null) { if ($query == null) { global $wp_query; $query = $wp_query; } if ($query->max_num_pages <= 1) { return; } $pageStart = 1; $paged = $query->query_vars[…

Inject Tracking Code with a Plugin in WordPress

Plugin My Custom Functions Simply put, the code injected with the plugin will be appended to functions.php Code // Below code will add <script> with wp_head hook to relative location function analytics_code() { ?> <script> // JS tracing code block </script> <?php } add_…