Skip to content

Instantly share code, notes, and snippets.

@wpsoul
wpsoul / functions.php
Last active August 2, 2020 00:44 — forked from gelebrin/functions.php
Add Articles to Store page(WCFM) - REHUB
add_action( 'wcfmmp_before_store_article', function( $store_id, $store_info ) {
?>
<div class="main-side clearfix<?php if (rehub_option('archive_layout') == 'gridfull' || rehub_option('archive_layout') == 'dealgridfull' || rehub_option('archive_layout') == 'compactgridfull' || rehub_option('archive_layout') == 'columngridfull' || rehub_option('archive_layout') == 'cardblogfull') : ?> full_width<?php endif ;?>">
<?php if (rehub_option('archive_layout') == 'blog') : ?>
<div class="">
<?php elseif (rehub_option('archive_layout') == 'newslist') : ?>
<div class="">
<?php elseif (rehub_option('archive_layout') == 'communitylist') : ?>