xRommelx
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp admin problem with headersi resolve the problem, the problem was with the template in am making
in this theme i have a function then create a panel in admin section, the wrong code was thisfunction admin_menu(){ add_menu_page('Administrador','Administrador de Contenido','edit_themes',basename(__FILE__),'theme_options'); } function theme_options(){ } add_action('admin_menu','admin_options');if u read and put attention the
add_actionis calling a function then don’t exist, so this was the problem
the correct code is thisfunction admin_menu(){ add_menu_page('Administrador','Administrador de Contenido','edit_themes',basename(__FILE__),'theme_options'); } function theme_options(){ } add_action('admin_menu','admin_menu');– I hope this help to others ppl in the future
Forum: Developing with WordPress
In reply to: OOP and Options Pageswell i don’t know any tutorial about this
but u can read the source code of those themes u found
other’s source code is a great school 😉Forum: Hacks
In reply to: Searching my whole site, not folder that wordpress is ini don’t get it
why you want to do this ?Forum: Hacks
In reply to: Loading new posts in a PHP file with AJAXlearn PHP, if not this will be really complicate
or learn something about CURL
CURL will help uForum: Hacks
In reply to: How do I modify wordpress's defualt searchyes, but u need to write ur own plugin and especify what u need to find or how top find
Forum: Hacks
In reply to: redirect on login errordo you show the login page link in the blog or website ???
if you answer is yes
you can use something like thiswhere u show the login page link
use something like thiswp-login.php?redirect=<?php echo $_SERVER['REQUEST_URI'] ?>;now you have this in a var, so now just use this var, and if the login is correct you can use a header(‘location’) and redirect to the last page or where the user come from