Highlight archive link on single.php

As your links are generated by get_archives_link(), this is the place where you have to look. Doing so, by inspecting the source , you will notice that get_archives_link() – itself – doesn’t give you the possibility to add a CSS class to make the highlighting happen. There is of course the filter hook get_archives_link – … Read more

Previous and older set of posts links

The other question is completely wrong and should not be used previous_post() and next_post() is both depreciated functions and should not be used anymore Never replace WP_Query with query_posts to solve a problem. This actually creates more. Also, query_posts should never be used showposts is also depreciated in favor of posts_per_page To make pagination work, … Read more

Button linking to an unique link

If I understand your question correctly, I think what you are looking for is edit_post_link(); To use it just insert <?php edit_post_link(); ?> into your theme. This will output a edit link leading to the current page/posts editor. Update after rewrite of question: You can replace your link with the following to include the posts … Read more

Embed/Link external web pages into my WordPress blog (Like Facebook grabs Image, Title, and Description)

Looks like you might be describing embeds which WordPress supports. On https://codex.wordpress.org/Embeds you’ll find a long list of currently supported embeds simply based on the URLs added in your editor. For the embed to work, it’s required to be on a single line with a space above and below. And generally they are constructed during … Read more

How to prevent WordPress from abbreviating long slugs?

Without you sharing a post title and its resulting slug to see what is happening, I can only guess. But a lot of the time stop words, or extremely common words, are stripped from slugs. This would be words like the, a, an, etc. The plugin Yoast SEO will do this if you’re running it … Read more

How to remove a link of date archive

I don’t know which theme your are using, I am explaining you same thing for twenty seventeen theme, go to wp-content\themes\twentyseventeen\inc\template-tags.php, You will find function twentyseventeen_time_link() there. In this function you will get code as like return sprintf( /* translators: %s: post date */ __( ‘<span class=”screen-reader-text”>Posted on</span> %s’, ‘twentyseventeen’ ), ‘<a href=”‘ . esc_url( … Read more

remove the title attribute from links [closed]

You could provide some more details, like what title attributes you are trying to remove. In the navigation, content, etc. Anyway, you could try adding this to your theme or child theme’s functions.php file, I have yet to test it though. function remove_title_attributes($input) { return preg_replace(‘/\s*title\s*=\s*([“\’]).*?\1/’, ”, $input); } add_filter(‘wp_list_pages’, ‘remove_title_attributes’);

Allow insecure embedded content in a SSL secured website

The Question is: Can I setup some kind of SSL exception in WordPress 4.9.8 to permit the linking to an insecure resource…? Extremely unlikely, and in the vast majority of the cases, impossible. The methods used could also introduce major security issues, and in the worst case scenario, make the domain completely unusable in a … Read more

Alternative to rb-internal-links to implement [intlink tag?

Linking to post regardless of permalink settings can always be accomplished by linking directly to a post ID query; i.e. instead of /category/recipe/chicken-piccata, link to /index.php?p=1234. If you’d like to resolve the URL via shortcode prior to creating the link, replicating the functionality of the original plugin should be simple enough – just take in … Read more

Delete all href attribute in WordPress posts

Moving comment to answer: Did you try adding a delimiter around your regex pattern? That’s what the little note on the bottom of your screenshot says. So for instance, /]>(.?)</a>/ , noting the added slashes. (Since this is replacing stuff in your database, let me say, use at your own risk.)