Hello,
I'm having an issue with pulling a couple of chunks into Wordpress, I manager to fix the issues with WayFinder not loading however all of the links in the chunk are now wrong.
require_once '../config.core.php';
require_once MODX_CORE_PATH.'model/modx/modx.class.php';
$modx = new modX();
$modx->initialize('web');
$modx->resource = $modx->getObject('modResource',$modx->getOption('site_start'));
$html = $modx->getChunk('Footer');
$html .= $modx->runSnippet('Wayfinder');
echo $html;
1- The URLs should be showing as domain.com/about but it is now shoiwng as domain.com/blog/about
I can't tell if this is a Wordpress or MODX URL issue and seem to be going around in circles, if I add a slash to the front of the URL it gives me the correct url, for example /# gives me the url domain.com/#
2 - The blog item in the menu should show as active.
Thanks
Charles