Page descriptions are not used very widely used in concrete5. Some themes will treat them as content excerpts, while other add-ons will use descriptions as a generic attribute storage area. Regardless, they are still built into concrete5, and in this recipe we will load a page by its path and retrieve its description.
Getting ready
Many pages in concrete5 do not have descriptions. If you wish, you can edit a page to add a description as shown in the following screenshot:
How to do it...
The steps for getting a page's description are as follows:
Open the /config/site_post.php file in your code editor.