php snippet not working, although on static page ok
-
This php snippet (PHP-Include-Snippet) does not work inside the Graphene theme of WordPress, although it works in a static php webpage.
<?php
include($_SERVER[‘DOCUMENT_ROOT’].’/m/nlinks.php’);It’s just a simple list of links.
Another simple date snippet however, works alright:
<?php
$today = date(“Y-m-d”);
echo $today;What could be the reasaon it doesn’t work?
I’m using the XYZ PHP Code plugin for those.
https://share.getcloudapp.com/Z4urxzRQ
/
with best regards, Omar KN, Stockholm, SwedenThe page I need help with: [log in to see the link]
- The topic ‘php snippet not working, although on static page ok’ is closed to new replies.