How to hide my categories pages’ names, and how as well to reduce the space beween my sidebar’s widgets?
How to hide my categories pages’ names, and how as well to reduce the space beween my sidebar’s widgets?
How to hide my categories pages’ names, and how as well to reduce the space beween my sidebar’s widgets?
WP Query Args – search by meta_key or title
You can use mb_substr(), which is safe to use on multibyte strings. I ran a quick test on my local installation of PHP: php > $str=”éééééé”; php > var_dump( substr( $str, 0, 3 ) ); string(3) “é�” php > var_dump( mb_substr( $str, 0, 3 ) ); string(6) “ééé” php > var_dump( mb_substr( ‘abcdef’, 0, 3 … Read more
how to put breadcrumb under Title [closed]
page title showing twice [closed]
Hide title block on edit screen in Gutenberg
Your theme is adding a large amount of padding to the .single-post__featured-img–layout-1 class: 100px top and bottom, or 180px for screens wider than 1025px. Look in https://eric.frydendal.org/wp-content/themes/blockst/style.css Try Css code .single-post__featured-img–layout-1 { padding: 20px 0px; }
I think perhaps what you want is either <?php if ( !is_front_page() ) : ?> <h2> <?php wp_reset_query(); ?> <?php echo $post->post_type; ?> </h2> <?php endif; ?> if you’ve done a custom front page that shows the blog posts, or <?php if ( !is_home() ) : ?> <h2> <?php wp_reset_query(); echo $post->post_type; ?> </h2> <?php … Read more
The return function doesn’t require (). So you’d want your function to look like this: function wpse_set_document_title_separator ( $sep) { return ‘-‘; } add_filter( ‘document_title_separator’, ‘wpse_set_document_title_separator’ );
I need to make the title of the page dynamic in my custom plugin