Skip to content

Commit

Permalink
Merge pull request #2030 from CityOfPhiladelphia/add-wysiwig-topic-page
Browse files Browse the repository at this point in the history
wysiwyg added
  • Loading branch information
IshKeyes authored Nov 15, 2023
2 parents 89805ad + 2eb5258 commit de76a69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +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'),
array(
'name' => 'Hide child pages',
'type' => 'heading'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
*
*/
?>
<?php if (!empty(phila_get_item_meta_desc( $bloginfo = false ) ) ) : ?>
<?php if (!empty(rwmb_meta( 'phila_wysiwyg_content' ) ) ) :?>
<section class="row mbl">
<div class="medium-24 columns">
<?php echo phila_get_item_meta_desc( $bloginfo = false ); ?>
<?php echo rwmb_meta( 'phila_wysiwyg_content' ); ?>
</div>
</section>
<?php endif; ?>
Expand All @@ -33,7 +33,7 @@
<a href="<?php the_permalink(); ?>" class="card sub-topic">
<div class="content-block">
<h3><?php the_title(); ?></h3>
<?php echo phila_get_item_meta_desc( $bloginfo = false ); ?>
<?php echo phila_get_item_meta_desc( $bloginfo = false ); ?>
</div>
</a>
</div>
Expand Down

0 comments on commit de76a69

Please sign in to comment.