Posts by Jhone Dias • 11 points
4 posts
-
0
votes1
answer28
viewsA: wp_nav_menu only works in header.php
OK...I discovered the problem, I will answer in case someone ever goes through it. The site I’m developing searches the posts on a network worpress Multisite, and for that I use the switch_to_blog…
-
1
votes1
answer603
viewsA: Is it possible to change CSS from an iframe?
As far as I know, only having access to the DOM using js ex: var estilo = document.createElement('link'); estilo.rel = 'stylesheet'; estilo.type = 'text/css'; estilo.href = 'caminho/estilo.css';…
-
0
votes1
answer28
viewsQ: wp_nav_menu only works in header.php
I have 2 menus on the Wordpress site that I am developing (top and footer). The problem is that the wp_nav_menu function is only working correctly when placed in header.php. I am registering the…
-
0
votes2
answers537
viewsA: View code on page
I don’t know if I understand 100% but it seems that you are looking for something like the highlight_file function. http://php.net/manual/en/function.highlight-file.php Example of use:…