Changing src URL on page id

Instead of saying “its not working” it would be more informative to describe what’s happening. You should first put the iFrame URL into a variable ratther than writing the iFram HTML code twice: <?php $page_id = get_queried_object_id(); // default iFrame src $iFrameSrc = “URL A”; if($page_id == 5232) { $iFrameSrc = “URL B”; } ?> … Read more

Buddypress Redirection on Users with Subscriber Role

If a subscriber on your BuddyPress site doesn’t have access to a specific page, it’s likely due to membership level restrictions set up on the page, meaning only users with a specific subscription plan (like a “premium” or “pro” level) can access it; you might need to check your BuddyPress settings to adjust access based … Read more

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