How to remove automatic generated tag in Home page

On archive pages like a blog home page the the_excerpt() is used normally. As the name says it shows just a snippet from your post. Most content filters are not applied to the excerpt, they work on the_content() only. Fix: change your template, replace the_excerpt() with the_content() in archive pages.

Add Permalink to Post Thumbnail, syntax code issues

That is because you haven’t close php before anchor tag <?php $args = array( ‘post_type’ => ‘xyz’, ‘posts_per_page’ => -1, ‘orderby’ => ‘rand’ ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?> <a href=”https://wordpress.stackexchange.com/questions/66197/<?php the_permalink(); ?>” title=”<?php the_title_attribute(); ?>” > <?php the_post_thumbnail(‘wine-flow’, array(‘class’ => ‘item’)); ?> </a> <?php endwhile; ?>

Commenting out in HTML editor breaks template

My last comment reminded me about shortcodes, and lead me to this answer: function htmlcomment_shortcode( $atts, $content = null ) { return ‘<!– ‘ . $content . ‘ –>’; } add_shortcode( ‘htmlcomment’, ‘htmlcomment_shortcode’ ); Add that to functions.php or your plugin, and then use it in your content like this: normal text [htmlcomment]commented out text[/htmlcomment]

random reason on refresh

You say that you are… … wanting to add a random reason (quote) as to why they should join which will change after every reload of the page And you seem to trying to do this by placing Javascript in a text widget. I assume that is what you mean by the ‘”text” in the … Read more

Where do I add an action hook & callback in my theme?

The best place for you is probably going to be in your Theme’s functions.php file. Navigate to /wp-content/themes/your-theme-name/functions.php. Paste it above/below any of the other code there, making sure to stay between any < ?php or ?> tags.

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