Category Archives: WP Tutorials
laravel remove index.php from url
# Remove index.php$ if ($request_uri ~* "^(.*/)index\.php$") { return 301 $1; } location / { [...]
get_stylesheet_directory() point to theresources/ folder
/** * ACF save json folder */ add_filter( 'acf/settings/save_json', 'my_acf_json_save_point' ); function my_acf_json_save_point( $path ) [...]
WordPress – various removers
/** * Various removers * todo: all may not be still needed/usefull/correct */ /** * [...]
Woocommerce- redirect (remove) author pages
/** * Disable access to WordPress author page */ function remove_author_pages_page() { global $wp_query; if [...]
Set real term_meta on ACF terms custom fields on update/create
/** * ACF fix for term meta * replace {{custom_term_meta_x}} by your ACF term custom [...]
Total WordPress Theme Code Snippets
Custom Metaviewport Tag add_filter( 'wpex_meta_viewport', function() { return ''; } ); Altering Layouts (Full Screen, [...]
