How to compress and uncompress files and folders in the Terminal in macOS Monterey
…create -help … Image from Folder options: … -format [UDZO] … UDCO – compressed (ADC) UDZO – compressed UDBZ – compressed (bzip2), deprecated ULFO – compressed (lzfse) ULMO – compressed…
Read MoreUse jQuery SlideToggle to Show/Hide Multiple Rows or Divs
…HTML markup… <!– The links –> <ul> <li>Blue Row</li> <li>Red Row</li> <li>Green Row</li> <li>Yellow Row</li> </ul> <!– The Rows –> <div>Blue Content</div> <div>Red Content</div> <div>Green Content</div> <div>Yellow Content</div> Each link…
Read MoreSet Up SMTP/Email for Local Valet WordPress Development
…set to mailhog.test and the SMTP Port is set to 1025 – the SMTP Hostname can be anything but keep the domain name the same i.e .test That’s it now…
Read MoreChange the WordPress Post Type name to Something Else
…$labels->singular_name = ‘News’; $labels->add_new = ‘Add News’; $labels->add_new_item = ‘Add News’; $labels->edit_item = ‘Edit News’; $labels->new_item = ‘News’; $labels->view_item = ‘View News’; $labels->search_items = ‘Search News’; $labels->not_found = ‘No News…
Read MoreCreate a content flyout overlay in Beaver Themer Layout Header
…Height & width depends on how you want to reveal the overlay (see JS ) */ height: 0; /* Height of overlay controlled in JS */ width: 100%; position: fixed;…
Read MoreFind and replace text across a whole WordPress web site using phpMyAdmin
…find/replace occurred Doing it via Command Line This can also be easily done via the command line, you just need to start a mysql session: mysql -u username -ppassword use…
Read MoreGetting your Bootstrap Popover Popper going on in Beaver Theme
…</button> <button type=”button” class=”btn btn-secondary” data-container=”body” data-toggle=”popover” data-placement=”left” data-content=”Vivamus sagittis lacus vel augue laoreet rutrum faucibus.”> Popover on left </button> If you need to pass in HTML tags to the…
Read MoreUsing Slidebars to Slide In and Out Content in A Genesis Theme
…Make sure you download the older Slidebar version for this tutorial, the new one is completely re-written. These are then enqueued to load in the theme with the above snippet….
Read MoreInstalling WordPress wp-cli on macOS
…as: wp help plugin Using the wp-cli Completion Script It is also a good idea to use the wp-cli bash completion script so you can tab complete commands. Download the…
Read MoreMake Beaver Themer Sticky Header And Shrink At Any Size
…both effects apply to devices over 768px wide. https://gist.github.com/neilgee/1d422bb389bfbcb6636f789e73bb5ebe So to apply to all devices just change the pixel value to 0, this is commented in the code snippet. …
Read More