Site Build

Postmaster truncate function in Ratchet

You can truncate post content to a set length on a postmaster tile/display using Ratchet's built in functionality. E.g. Add post excerpt to the postmaster template, truncated at 90 characters: <p class="post-excerpt"><?php echo(truncate(get_the_excerpt(),...

Divi Space logins and plugins

https://divi.space/ username: makeweb password: UPPER123   Plugins: Divi Widget Builder (license for unlimited sites) - great Divi Builder option for adding no-code and easily edited custom widgets to the Slide In Mobile Nav

Using Font Awesome icons

Paste the following script in Theme Options>Integration (header code): <script src="https://kit.fontawesome.com/1b1c397bad.js" crossorigin="anonymous"></script> Find icons: https://fontawesome.com/icons?d=gallery   Use code of selected icon:   Font...

Select dashicon for custom post type

When creating a new post type in ACF>Post Types, in the Advanced Settings, click on the "Visibility" tab. From there, you can use the "Dashicons" resource link.    From the list of icons, click on the one you wish to use for the new post type.   Then copy...

Steps to set up new post type

Step 1: Install Advanced Custom Fields Extended (in the WP Repository). Step 2: Go to ACF>Post Types. Set: labels & key icon (more instructions here: Select dashicon for custom post type) set hierarchical to true enable Advanced Configuration Important settings...

Postmaster CSS

Hide the 'load more/older posts' button from the end of a postmaster list: .alm-btn-wrap .alm-load-more-btn.done {   display: none; } Update: 17 Sep 2020 This is now in the default css of postmaster but am leaving hear as the same css selector would be used to make it...