[insert_php]
$args = array(
‘post_type’ => ‘universidades’
);
query_posts($args);
if ( have_posts() ){
$acceso=false;
while ( have_posts() ) : the_post();
if ($_SERVER[‘REMOTE_ADDR’] == get_the_content()) {
$acceso=true;
}
endwhile;
};
if($acceso){
echo «acceso»;
}
[/insert_php]
Esto se cerrará en 0 segundos