Permalink of a page or post using ID can be retrieved as follows:
$url = get_permalink($post_id);
Where $post_id is the ID of the post or page whose permalink is to be get.
Learn web technologies like Drupal, WordPress, PHP, Magento, ReactJS, JQuery, Magento, Javascript, HTML, CMS, Website building and also learn more about CRM like vTiger, Sugarcrm, salesforce, Zohocrm and many more.
Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...
No comments:
Post a Comment