Skip to content

Instantly share code, notes, and snippets.

@DanielFloeter
DanielFloeter / Create a wine list
Last active Jun 7, 2021
CSS :nth-child() selector for a responsive column layout
View Create a wine list
/* Food menu- and drinks columns */
.wp-block-column {
padding-top: 2em;
margin-left: 0 !important;
}
@media (min-width: 600px) and (max-width: 781px) {
.wp-block-column {
margin-top: 1em;
}
@DanielFloeter
DanielFloeter / Custom-placeholder-Add-on.php
Last active Apr 16, 2021
Custom excerpt, Jean Michel
View Custom-placeholder-Add-on.php
<?php
/*
Plugin Name: Custom-placeholder Add-on
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Add-on to handle custom placeholder like custom fields for the premium widget Term and Category Based Posts Widget.
Author: TipTopPress
Version: 1.1
Author URI: http://tiptoppress.com
Installation:
- Download the file and rename it to Custom-placeholder-Add-on.php
View Show-hidden-Posts-Add-on.php
<?php
/*
Plugin Name: Show Hidden Posts Add-on
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Extension to show also hidden Posts ("Wordpress Hide Posts") for the premium widget Term and Category Based Posts Widget.
Author: TipTopPress
Version: 1.0.1
Author URI: http://tiptoppress.com
Installation:
View Custom-placeholder-Add-on.php
<?php
/*
Plugin Name: Custom-placeholder Add-on (ACF)
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Add-on to handle custom placeholder like custom fields for the premium widget Term and Category Based Posts Widget.
Author: TipTopPress
Version: 1.1
Author URI: http://tiptoppress.com
Installation:
View dequeue-select2-add-on.php
<?php
/*
Plugin Name: TACBPW dequeue Select2 Add-on
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Add-on to dequeue Select2 script and styles for the Term and Category based Posts Widget.
Author: TipTopPress
Version: 1.0
Author URI: http://tiptoppress.com
Installation:
View order-by-menu-order-add-on.php
<?php
/*
Plugin Name: Order by menu_order Add-on
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Add-on to add more sort possibilities for the premium widget Term and Category Based Posts Widget.
Author: TipTopPress
Version: 0.1
Author URI: http://tiptoppress.com
Installation:
@DanielFloeter
DanielFloeter / Related-Terms-and-Category-Add-on.php
Last active Aug 7, 2020
Select post types and show related term and categories from the current shown post.
View Related-Terms-and-Category-Add-on.php
@DanielFloeter
DanielFloeter / future-posts-extension.php
Last active Oct 7, 2017
Future Posts Extension widget
View future-posts-extension.php
<?php
/*
Plugin Name: Future Posts Extension
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Extension to show only Posts which are in the future with the 'The future is now' widget for the premium widget Term and Category Based Posts Widget.
Additional needed widgets: 'The future is now' (https://wordpress.org/plugins/the-future-is-now/)
Author: TipTopPress
Version: 0.1
Author URI: http://tiptoppress.com
*/
View Order-by-Add-on.php
<?php
/*
Plugin Name: Order-by Add-on
Plugin URI: http://tiptoppress.com/downloads/term-and-category-based-posts-widget/
Description: Extension to add more sort possibilities for the premium widget Term and Category Based Posts Widget.
Author: TipTopPress
Version: 1.2
Author URI: http://tiptoppress.com
Installation:
@DanielFloeter
DanielFloeter / functinos.php
Created Dec 17, 2016
Only active Events - Extensions for The Events Calendar plugin by Modern Tribe
View functinos.php
<?php
/**
* Only active Events
*
* Extensions for The Events Calendar plugin by Modern Tribe
*
* @namespace ECE - The Events Calendar Extensions
*/
/**
* Add a checkbox to the extensions panel