Skip to content

Commit

Permalink
Merge pull request #2050 from CityOfPhiladelphia/add-wysiwyg-topic-pa…
Browse files Browse the repository at this point in the history
…ge-2

update conditional to render short description
  • Loading branch information
IshKeyes authored Dec 14, 2023
2 parents af2de1b + 867a028 commit a12703e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ function phila_register_meta_boxes( $meta_boxes ){
'visible' => array('phila_template_select', 'topic_page'),

'fields' => array(
Phila_Gov_Standard_Metaboxes::phila_metabox_v2_phila_advanced_small_wysiwyg('Topic Page Content'),
Phila_Gov_Standard_Metaboxes::phila_metabox_v2_phila_advanced_small_wysiwyg('Topic Page Content'),
array(
'name' => 'Hide child pages',
'type' => 'heading'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<?php echo rwmb_meta( 'phila_wysiwyg_content' ); ?>
</div>
</section>
<?php elseif (!empty(phila_get_item_meta_desc( $bloginfo = false ))) : ?>
<section class="row mbl">
<div class="medium-24 columns">
<?php echo phila_get_item_meta_desc( $bloginfo = false ) ?>
</div>
</section>
<?php endif; ?>
<?php $topic_args = array(
'post_type' => 'service_page',
Expand Down

0 comments on commit a12703e

Please sign in to comment.