Remove all link title attributes

Do you want to preserve the images title attribute? If not here is a code that fixes that for you: add_filter(‘the_content’, ‘remove_title_attr’); function remove_title_attr($text) { // Get all title=”…” tags from the html. $result = array(); preg_match_all(‘|title=”[^”]*”|U’, $text, $result); // Replace all occurances with an empty string. foreach($result[0] as $html_tag) { $text = str_replace($html_tag, ”, … Read more

Anchor link on single.php

function new_excerpt_more( $more ) { return ‘ <a href=”‘. get_permalink( get_the_ID() ) . ‘#placeholder”> ‘ . __(‘<br/><br/> Read More’) . ‘</a>’; } add_filter( ‘excerpt_more’, ‘new_excerpt_more’); I think that should do it.

List pages including both parent and child pages

I don’t think there is a way to express that precisely in its arguments. You could work around that by building array of page IDs which includes parent and children set as desired. $pages = get_posts( [ ‘post_parent’ => $page_id, ‘post_type’ => ‘page’, ‘fields’ => ‘ids’, ] ); $pages[] = $page_id; wp_list_pages( [ ‘include’ => … Read more

WordPress Intranet Link Not Working

I think it’ll be messy. You’ll need browser extensions or per-browser settings, because you’re basically asking the browser to access a file:// link which is not local to the machine, and I think many modern browsers have locked that down for security reasons. Sorry I can’t be the bearer of better news. 🙂

Links open when scrolling on touch devices/mobile

I could confirm on your shared site that some javascript code is causing this issue. This code may be generated by plugins used on your site so please try temporary deactivating all plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is generating it if … Read more

Unwanted Autogenerated Link

I have resolved the issue by installing a premium SEO plugin that checked all my back-links and picked up the culprit: an automated back-link rule that linked all instances of “website design” to the mentioned URL, thus producing the interesting (or rather normal) effect of one instance been deleted and automatically back-linking to the next … Read more