Templates & Post Types

Can I customize the post backend interface?

When working with complex post types, you might want to customize the columns in the WordPress backend to have a clearer overview of your posts, e.g. add custom columns, hide certain columns or have a custom order. This is something we plan to add to Greyd.Suite in the upcoming months.

In the meantime, we have prepared a code snippet you that you can adapt and add for example to the functions.php of your child theme:

// change this to your post type slug
$my_cpt_slug = 'my_custom_post_type';

// add the column to the post type
add_filter( 'manage_' . $my_cpt_slug . '_posts_columns', function ( $columns ) {

	// change 'field' to the name of your column
	$column_name = 'my_column_name';

	$columns[ $column_name ] = __( 'Feld' );
	return $columns;
} );

// render the column content
add_action( 'manage_' . $my_cpt_slug . '_posts_custom_column', function ( $column, $post_id ) {

	// change 'field' to the name of your column
	$column_name = 'my_column_name';

	// change this to the key of your meta field
	$meta_field_key = 'my_custom_field_key';

	// render the column content
	if ( $column_name === $column ) {
		echo get_dynamic_field( $meta_field_key, $post_id );
	}

}, 10, 2);

Templates & Post Types


Wie erstelle ich dynamische Website Templates?

Wir zeigen dir in diesem Video, wie du Content-unabhängige Vorlagen ("Dynamic Templates") erstellen und diese auf deinen Seiten einsetzen kannst. Erfahre außerdem, wie du Templates nachträglich anpassen kannst, ohne dein Inhalte zu beeinflussen.

Templates & Post Types


Wie arbeite ich mit Templates & Template Parts?

In diesem Video zeigen wir dir wie du mit dem Site Editor in der Greyd.Suite Templates und Template Parts für deine Websites erstellst & bearbeitest. Templates definieren

Templates & Post Types


Wie arbeite ich mit Posts & Post Types?

In diesem Video erklären wir dir einmal den kompletten Prozess von der Erstellung eines Custom Post Types, über die Gestaltung der dazugehörigen Templates (Post Template, Archiv, Suche) bis hin zur Darstellung einzelner Post in sogenannten Abfrage Loops / Post Übersichten.

Templates & Post Types


Wie funktioniert der Burger / Dropdown / Popover Block?

Den Popover Block gibt es in gleich drei verschiedenen Varianten. Je nachdem wo und wie du ihn einsetzt, kannst du damit Inline Popups, Dropdowns oder auch Burger Menüs umsetzen. In diesem Video zeigen wir dir alle Optionen.

Greyd.Blocks, Templates & Post Types


Wie stelle ich Post Inhalte als Tabelle dar?

Der Block Post Tabelle ist eine Variante der Post Übersicht und ermöglicht es dir, Post Inhalte in Tabellenform darzustellen.

Greyd.Blocks, Templates & Post Types


Wie erstelle ich ein Beitrags-Archiv?

Mit dem Archive Block kannst du Beiträge eines bestimmten Zeitraums, einer bestimmten Kategorie oder mit bestimmten Schlagwörtern anzeigen lassen. Erfahre hier, wie du dir ein individuelles Beitragsarchiv gestaltest und mit welchen Funktionen wir den nativen Archive Block von Gutenberg erweitert haben.

Greyd.Blocks, Templates & Post Types


Wie gestalte ich Frontend Suchen?

In diesem Video zeigen wir dir, wie du individuelle Frontend Suchmasken mit Filter- und Sortiermöglichkeiten für den Nutzer gestaltest. Außerdem erklären wir dir die umfangreichen Advanced Search Funktionen in der Greyd.Suite.

Greyd.Blocks, Templates & Post Types


Wie gestalte ich Header & Footer?

In diesem Video fassen wir alle relevanten Einstellungen, Blöcke & Optionen für dich zusammen, die du für die Gestaltung der Template Parts Header und Footer benötigst. Von der Navigation über die Erstellung von Off-Canvas Burger Menüs bis hin zu Logo und Seitentitel.

Templates & Post Types


So erstellst du Post Übersichten und Slider

Mit Post Übersichten kannst du Newsbereiche oder Blogs darstellen, dein Portfolio oder auch Mitarbeiter und Standorte visualisieren. Welche Einstellungs-Optionen dir das Modul Post Übersicht / Slider bietet, zeigen wir dir in diesem Video.

Greyd.Blocks, Templates & Post Types


Wie erstelle ich Custom Post Types?

Mit der Greyd.Suite kannst du Custom Post Types ganz ohne Programmierung erstellen und gestalten. Die Datenpflege erfordert dabei keinerlei technisches Know How oder WordPress Kenntnisse. Erfahre hier, wie einfach das Ganze funktioniert.

Templates & Post Types


Verwandte Artikel

Hinweis: Die Hilfsartikel stehen derzeit nur auf Englisch zur Verfügung.

How can I switch to a child theme?

In this article we describe how you can switch to a child theme when you have already created contents, layouts and design that you do not want to loose:Keep the current theme activeMake a backup of your entire site, the design and files via Greyd.HubIf available, copy the additional CSS in the global styles into […]


General Questions, Templates & Post Types

How can I make dynamic fields only appear when a post data is available?

Imagine you have a post slider / query loop showing employees. Some employees have a LinkedIn profile that is to be displayed below their photo and name, some don't. You would now want your post slider to only display the LinkedIn icon when there is a LinkedIn profile available.There's an easy way to do that […]


Design, Templates & Post Types

How can I have several layouts / designs in one post overview?

With the Post Overview or Query Loop block, you can flexibly display posts – as a table, grid or list. In combination with Conditional Content, you can also visually highlight individual posts and/or work with different layouts within one post overview. To do this, simply add the Conditional Content block twice in your query loop. […]


Design, Greyd.Blocks, Templates & Post Types

Why does my site not show skip links?

Skip links are an essential accessibility feature. When someone navigates your website using the key board, skip links make their life a lot easier as they can skip elements like forms or menus if they want to navigate on the site instead of having to go through each and every menu element or form field.With […]


Design, General Questions, Templates & Post Types

What you need to know about HTTP password protection

We often receive support tickets with strange issues that we can later relate to HTTP password protection instead of any issue caused by Greyd.Suite.In general, WordPress often experiences issues when HTTP password protection is used. So, in case you are using HTTP password protection and experience one or several of the following symptoms, we highly […]


General Questions, Website management

How do I integrate external code snippets?

You can easily insert code snippets at the end of the <head> and <body> tags in the Greyd.Suite settings: Please note that depending on the type of snippet, it might be better to alternatively integrate your snippet via an appropriate cookie plugin in order to comply with the requirements of the GDPR.


General Questions, Website management

All you need to know about multilingual FSE websites

In this article, we would like to give you some help when it comes to multilingual websites with Full Site Editing.The fact is that not all multilingual solutions are yet compatible with Full Site Editing. We have extensively tested two of the most popular providers – WPML & Polylang – especially in combination with Greyd.Suite. […]


General Questions, How to Start

How can I make taxonomies selectable via checkboxes?

Default categories for example in the blog post type are easily selectable in the backend via checkboxes and all available options are visible to the editor. Screenshot of category selection in WP blog posts When creating custom taxonomies, however, the default interface is an input field. You may see the most used taxonomies as an […]


Templates & Post Types

My site template is not connected to its site anymore

When you have a template that is assigned to a specific page, you may ran into an issue when changing the URL of that page. Your page and site template may then no longer be connected with each other.In Greyd.Suite there is an easy way to fix that: Open the Theme Asset tab in the […]


Templates & Post Types

The Block Editor keeps crashing.

Currently, the WordPress Block Editor still crashes and/or displays errors from time to time. In most cases, you can resolve the problem by simply refreshing your browser window or by clicking the "Attempt Block Recovery" button: Block error message While this may be annoying for the editor, the good news is that in most cases […]


General Questions, How to Start

Where can I see on which domains my license is being used?

Open your Greyd.Suite dashboard (on a site level, not in the network administration) and go to the tab "license" to see all details with regards to your Greyd.Suite license.You will first be asked to enter your license key again for security reasons. Backend screenshot of the settings dashboard in Greyd.Suite Then you will get an […]


General Questions, How to Start

I have problems after updating WP / Gutenberg.

In order to ensure full compatibility of Greyd.Suite with the WP core / Gutenberg, we always test each new core update extensively and, if necessary, make adjustments before recommending customers to update. This is necessary, since the core is constantly evolving and changes are not always fully documented.When a new core version is available, you […]


General Questions, How to Start