Wordpress

Everything interesting about Wordpress {.lead}

Docs

Custom Fields

Pods Framework

Home - Pods Framework

Use in Templates

    <dl>
        <?php

            $fields = get_post_meta($post->ID);
            $pod = pods( 'event', get_the_id() );
            // filter Template and other Metafields starting with `_*`
            $fields = array_filter($fields, function($k){
                return strpos($k,'_') !== 0 && strpos($k,'cmsms_') !== 0;
            }, ARRAY_FILTER_USE_KEY);

            //print_r($fields);
            // https://pods.io/docs/code/pods/fields/
            foreach($fields as $key => $value){
                printf(
                    '<dt>%s:</dt> <dd>%s</dd>', 
                    $pod->fields($key,'label'), 
                    $pod->display($key)
                );
            }
        ?>        
    </dl>

Advance Custom Fields

(not used yet)

Extensions

Backend

Multisite - Network Setup

Use same content across network:

Maintenance Page

  • Maintenance
    • Blurry Background
    • Login on Frontpage
  • WP Maintenance Mode
    • counter

Gutenberg Blocks

Modern way to build layouts. Watch them messing everything up and becoming heavy weight page builders ^^

Maintenance WP

WP-Sweep

WP-Sweep ermöglicht es dir unbenutzte, verwaiste und doppelte Daten in WordPress zu bereinigen. Es bereinigt Revisionen, automatische Entwürfe, nicht genehmigte Kommentare, Spam-Kommentare, Kommentare im Papierkorb, verwaiste Beitrags-Metadaten, verwaiste Kommentar-Metadaten, verwaiste Benutzer-Metadaten, verwaiste Begriffsbezugsdaten, unbenutzte Begriffe, doppelte Beitrags-Metadaten, doppelte Kommentar-Metadaten, doppelte Benutzer-Metadaten und transiente Optionen. Es optimiert auch deine Datenbanktabellen.

Regenerate Thumbnails Advanced

Regenerate thumbnails fast and easy while removing unused thumbnails of existing images; very useful when changing a theme.

Redirection

Verwalte alle 301-Umleitungen und 404-Fehler.

Regenerate Thumbnails Advanced

Regenerate thumbnails fast and easy while removing unused thumbnails of existing images; very useful when changing a theme.

Make Paths Relative

Events

Event Organiser

Erstellt einen individuellen Termin mit Features wie wiederholende Termine, Veranstaltungsorte, Google-Maps-Karte, Kalenderansichten und -termine und Seiten für Veranstaltungsorte

Directory, Geo Maps

Ultimate Maps by Supsystic

Toolset Directory (170 USD)

https://toolset.com/learn/build-directory-classifieds-sites-using-toolset/

Caching, Queries

Translation

Theme-Translations are expected in /wp-content/languages/themes/[THEME NAME]-[lc_LC].mo

File:      /wp-content/languages/themes/econature-de_DE.mo (not found)
Called in: /wp-content/themes/econature/functions.php line 492 load_theme_textdomain

To debug that crap, use Debug MO Translations and look at the end of the page. It reveals what paths are expected.

Themes

Eco Nature

Full Width Background spanning separate Blocks - put background-image or color in the second block!

image-20200617084155244
image-20200617084552641