Trying to get all links in my posts

After further investigation, I noticed my theme was actually replacing all the anchor tags with shortcodes for SEO purposes, so there weren’t any links in the content anymore. I was able to make it work by replacing $content = get_the_content(); with $content = apply_filters( ‘the_content’, get_the_content() );

How to share the author’s archive?

That’s get_the_author_posts_link(): <?php echo get_the_author_posts_link(); ?> If you want the author link for someone who isn’t the author of this page in WordPress terms – I don’t know what the bbpress state here is – then you can construct this from IDs instead (based on a snippet from twentytwentyone as you can see): $author_id = … Read more

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