New answers tagged

1

You could do this with custom shortcodes or in some plugins with saved layouts. Many pagebuilder give the option to save predefined layouts. Try out this plugin if you want to create the predefined layouts programmatically. https://github.com/WebDevStudios/WDS-Simple-Page-Builder


0

I found a simpler solution Add this to your functions.php // Update CSS within in Admin function admin_style() { wp_enqueue_style('admin-styles', get_template_directory_uri().'/admin.css'); } add_action('admin_enqueue_scripts', 'admin_style'); and point it to a CSS file in your theme folder with this @media (min-width: 850px) { .post-php ...


0

As suggested by @Sumit, the problem was in the template: there was a test that prevented the_content() to execute when the content was empty. <?php if ( $page->post_content && have_posts() ) while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php endwhile ?>


-1

Solved.. it turns out the link dialog does not work if the body has the "modal-open" class.



Top 50 recent answers are included