Open christiancannata opened 7 years ago
Hi, How can I manage dynamic titles with ekino?
This is my base template symfony:
{{ wp_get_header() }}
{% block body %}{% endblock %}
{% block javascripts %}{% endblock %} {{ wp_get_footer() }}
this is my header.php wordpress and I would passa title variable from controller -> twig template -> wordpress header
`<?php $securityContext=\symfony('security.token_storage'); $user = $securityContext->getToken()->getUser(); $userLogged=symfony('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY'); $isAdmin=symfony('security.authorization_checker')->isGranted('ROLE_ADMIN'); $twig=symfony("templating");
?><!DOCTYPE html> <html <?php language_attributes(); ?> >
I have the same issue I always have 'Page not found' as Title. Is there any way to set the title page of custom page from symfony routes ?
Hi, How can I manage dynamic titles with ekino?
This is my base template symfony:
{{ wp_get_header() }}
{% block javascripts %}{% endblock %} {{ wp_get_footer() }}
this is my header.php wordpress and I would passa title variable from controller -> twig template -> wordpress header
`<?php $securityContext=\symfony('security.token_storage'); $user = $securityContext->getToken()->getUser(); $userLogged=symfony('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY'); $isAdmin=symfony('security.authorization_checker')->isGranted('ROLE_ADMIN'); $twig=symfony("templating");
?><!DOCTYPE html> <html <?php language_attributes(); ?> >