raffa13
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I’m sorry but I had to revert to the previous version of your plugin which is perfect for my needs. The only problem with the prevoious version is that the shortcode into cookie bar doesn’t work but i replaced it with the same link that i use on footer… example.com/#gdpr_cookie_modal.
RegardsForum: Themes and Templates
In reply to: [Twenty Twenty] Remove the function twentytwenty_get_post_metait took me three hours to find the solution, I hope it will help someone
Forum: Themes and Templates
In reply to: [Twenty Twenty] Remove the function twentytwenty_get_post_metaadd_filter('twentytwenty_show_categories_in_entry_header', '__return_false'); // removes category in entry header add_filter('twentytwenty_post_meta_location_single_top', '__return_empty_array'); // removes author, post-date, comment count, sticky status in post head add_filter('twentytwenty_post_meta_location_single_bottom', '__return_empty_array'); // removes tags in post footer Instead of using '__return_empty_array' you can also use a function to define what should actually be shown. function wps_display_custom_tags ($post_meta) { // delete meta tags you do not want to display return array( 'author', 'post-date', 'comments', 'sticky', 'tags'); } add_filter('twentytwenty_post_meta_location_single_top', 'wps_display_custom_tags');
Viewing 3 replies - 1 through 3 (of 3 total)