Bruno Augusto
Forum Replies Created
-
Forum: Hacks
In reply to: Full URL Redirection of Theme URLI don’t know if the permalinks affects the Admin Panel. Maybe yes, maybe not…
Here, I will try to explain in a better way.
When developing a theme (or plugin) you can use the function add_menu_page() to add another “division” for your own theme/plugin, instead of let it “lost” between all the others plugins or in the menu Appearance, for themes.
The fourth parameter, called $menu_slug is the GET value for the page querystring. E.g.:
$menu_slug is set to vendor-theme-settings and the URL is something like admin.php?page=vendor-theme-settings
But, my URL Router System expects a slash-separated string, like vendor/theme/settings
Of course, this URL Router is the Standard URL Router, I can easily create a WordPress Router, specifically for WordPress’ Theme/Plugins.
But I would like to know if it’s possible some different trick to use the class I already have.
Forum: Fixing WordPress
In reply to: WP breaking PHP tagsWell, I know I already post but I can’t see an edit button and/or feature.
The problem was solved uncheking the option, in Write Settings, that allow WP to fix incorrect XHTML tags
Forum: Fixing WordPress
In reply to: WP breaking PHP tagsI tried. I change my choice to PHP Exec.
I try to disable the Syntax Highlight plugin too, but still adding the extra space.