Creating a custom rebrandly link using a wordpress shortcode

I am trying to create a rebrandly short link using a WordPress shortcode. Here’s what I have so far: Following the directions for PHP here – https://developers.rebrandly.com/docs The shortcode I’m testing is [shortlink]https://example.com[/shortlink] but its not working. When I change the part: $post_data[“destination”] = $content; to $post_data[“destination”] = “http://example.com”; it works. I must be putting … Read more

WordPress – add second logo to customizer

Now that we have gone through the problem step by step, we know the code in customizer.php is working because : get_theme_modsreturns your logo file so the problem’s not the database or theme mods. var_dump shows that the logo file is saved in the sticky_header_logo array key as expected. The problem: This means that the … Read more

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