Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

272
Vistas
Blank page appearing after saving page

I wanted to display some posts in a builder so I created a shortcode of that by following steps 1) created a file in wp-content and added a function which displays posts 2) created a following shortcode in function.php

include(WP_CONTENT_DIR . '/themes/Divi/custom_shortcodes/show_packages_func.php');

add_shortcode( 'display_packages', 'display_tour_packages' );

After using these shortcodes, when I save a page (as an example /wp-admin/post.php?post=1517&action=edit ), it converts or redirects to /wp-admin/post.php with no content (blank white page).

Also when I try to install plugns, they failed. WHen I activate plugins, the page displays blank page without activating plugin.

Is there a valid reason of this?

Edit: I find many posts regarding custom shortcode with visual composer and no one complained about any break in code, or any kind of problem.

EDIT: Researched and retried more:

The problem might be WP_query(), I have WP File manager installed but it was not responding. I added wp_reset_query() in both files (where I am using wp_query() ) which let File manager working but still pages and plugins are displaying white pages and save/activate

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda