How to add description over forum list on bbpress root page

One possibility would be to hook into the bbp_template_before_forums_index like this: add_action( ‘bbp_template_before_forums_index’, ‘wpse118937_bbpress_forum_list_desc’); function wpse118937_bbpress_forum_list_desc() { //add your description code here } This will be displayed after the breadcrumbs and before the list. If you want more extensive customizations you can customize the template for that, but you shouldn’t do that in the plugin … Read more

Set up description meta automatically

You can use first few lines of post content and add these to meta description tags to website head section automatically. Here is how you do that. // add meta description tag function wcs_add_meta_description_tag() { global $post; if ( is_single() ) { $meta = strip_tags( $post->post_content ); $meta = strip_shortcodes( $post->post_content ); $meta = str_replace( … Read more

How do I change the style of just a part of the tagline?

A quick search online for html in your tagline came to this site: https://www.kirstencassidy.com/allow-html-code-in-wordpress-tagline/ It seems like it is your answer. It explains that you would update your theme file to use the echo html_entity_decode function: <h2 class=”tagline”><?php echo html_entity_decode(get_bloginfo(‘description’));?></h2> Then, you can just use html in your admin > settings page like so: This … Read more

How to display featured image description and title?

this might work: $post_thumbnail_id = get_post_thumbnail_id($post->ID); $thumbnail_image = get_posts(array(‘p’ => $post_thumbnail_id, ‘post_type’ => ‘attachment’)); if ($thumbnail_image && isset($thumbnail_image[0])) { $img_description = $thumbnail_image[0]->post_content; $img_caption = $thumbnail_image[0]->post_excerpt; $img_alt = get_post_meta($post_thumbnail_id , ‘_wp_attachment_image_alt’, true); $img_title = $thumbnail_image[0]->post_title; }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)