04 June 2020

How to get page name from url in php?


Get page name from url in php.


 $slug = basename(get_permalink());

No comments:

Post a Comment

How to create video slider with cuncks of videos without download all videos?

 Create video slider with cuncks of videos without download all videos function custom_video_slider_shortcode() { $slider_id = 'vide...