Hi,
You cannot add php code to a custom page.
But, you can create your own plugin for your purpose.
I'd like to know if you could create a custom page and fetch data from a specific category/forum to it.
Yes, you could do that.
You can create a plugin or directly define a new route in routes.php file.
You can check out the route /category/:cat_name
in the routes.php file and copy that code to get topics from a category.
Hi,
You cannot add php code to a custom page.
But, you can create your own plugin for your purpose.
>I'd like to know if you could create a custom page and fetch data from a specific category/forum to it.
Yes, you could do that.
You can create a plugin or directly define a new route in routes.php file.
You can check out the route ``/category/:cat_name``
in the routes.php file and copy that code to get topics from a category.