Skip to content

Commit

Permalink
Merge pull request #4287 from shadowsight-ss1/fix/edd_tag_tax_custom_…
Browse files Browse the repository at this point in the history
…layout

Fix #4286 EDD Before Archive Hook
  • Loading branch information
selul authored Aug 11, 2024
2 parents 98f5856 + 465df7c commit bdb9909
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions taxonomy-download_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">

<div id="wrapper">
<?php
/**
* Executes actions before the archive content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
/**
* Executes actions before the post content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );

if ( have_posts() ) {

while ( have_posts() ) {
Expand Down
15 changes: 8 additions & 7 deletions taxonomy-download_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">

<div id="wrapper">
<?php
/**
* Executes actions before the archive content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
/**
* Executes actions before the post content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );

if ( have_posts() ) {

while ( have_posts() ) {
Expand Down

0 comments on commit bdb9909

Please sign in to comment.