Skip to content
Partiellkorrekt
  • Fake IE
  • Home

Don't know where to look?

You can search all my notes here

Category: Tweaks

Show more post_types on WordPress’ homepage

<?php add_action(‘pre_get_posts’, function (WP_Query $query) { if (!is_admin() && $query->is_main_query() && $query->is_home()) { $query->set(‘post_type’, [‘post’, ‘post_type_2’, ‘post_type_3’]); } });

July 15, 2019
Show Bootstrap-breakpoints in WordPress’ adminbar

<?php // In der functions.php einbinden add_action(‘admin_bar_menu’, function ($admin_bar) { if (!is_admin() && WP_DEBUG) $admin_bar->add_menu([ ‘id’ => ‘my-item’, ‘title’ =>…

July 15, 2019
All Categories
CSS GIT Javascript React Native Wordpress
Tweaks
Work environment

About this page

This page contains a selection of the notes, I’m taking.

If you are involved in (web-) development, I hope you find some notes helpful.

Social media

  • Facebook
  • LinkedIn
  • GitHub
  • Instagram
Copyright © 2025 Abraham Przewodnik
  • Privacy Policy
  • Legal Disclosure