[WORDPRESS] How to hide “Description” of new category

Code functions.php function admin_style_cat_description() { echo ‘ <style> div.term-description-wrap{ di […]

Read more

[WORDPRESS] How to hide parent category registration of new category

Code functions.php function admin_style_category() { echo ‘ <style> div.term-parent-wrap{ display:none; […]

Read more

[WORDPRESS]How to apply CSS to the Admin Panel

Source code functions.php function admin_style() { echo ‘ [CSS] ‘.PHP_EOL; } add_action(‘admin_print_styles’, […]

Read more

[Smart Custom Fields] How to hide unfilled items

Code <?php $sub_img = SCF::get( ‘Subimage’ ); $sub_img = wp_get_attachment_image_src( $sub_img, ‘large’ ); […]

Read more

[Contact form7] How to transition to the Thank you page

Code function.php add_action( ‘wp_footer’, ‘send_page’ ); function send_page() { if( get_the_ID() == ‘[form pa […]

Read more

[WORDPRESS] How to add a tag to the header of a page

Code header.php <?php if (is_page(‘[Page ID]’)) { ?> <?php } ?>

Read more

[WordPress] How to display only specific custom posts in search results

Here’s how to make WORDPRESS site search show only specific custom post types in search results. Want to […]

Read more