Configure Presentation Page
To set up the presentation page for any language, we need to create or edit “Presentation & Trainings” page for particular language and incorporate the “cp_custom_shortcode” into the page’s code. This shortcode facilitates the display of blocks and categories on the designated page.
To configure the presentation page, it is essential to designate the page category as “Trainings & Presentations” and choose the desired language from the “Page Languages” section.
BLOCKS: To configure block section by category wise we need to create or edit that particular block page and need to select sub category from “Page Category” and need to select language from “Page Language” section.
Upon loading the presentation page, it will display all blocks categorised under the selected sub-categories, as depicted in the image below.
We have implemented the use of PDF files as part of our security measures.
We added this code into htaceess so pdf and ppt cannot open without login
# Redirect PDF file requests for non-logged-in users
RewriteCond %{REQUEST_FILENAME} \.pdf$
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule ^(.*)$ /index.php [L]