usmdamir
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
managed to do.
tagged<strong>places to replace- This reply was modified 6 years, 2 months ago by usmdamir.
<?php $arg_cat = array( 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => 1, 'exclude' => '', 'include' => '', 'taxonomy' => <strong>'MY CUSTOM TAXONOMY NAME'</strong>, ); $categories = get_categories( $arg_cat ); if( $categories ){ foreach( $categories as $cat ){ $arg_posts = array( 'orderby' => 'name', 'order' => 'ASC', 'posts_per_page' => -1, 'post_type' => <strong>'MY CUSTOM POST NAME'</strong>, 'post_status' => 'publish', 'tax_query' => array( array( 'taxonomy' => <strong>'MY CUSTOM TAXONOMY NAME'</strong>, 'field' => 'ID', 'terms' => $cat->cat_ID ) ) ); $query = new WP_Query( $arg_posts );?> <?php if ($query->have_posts() ) ?> <h2><?php echo $cat->name; ?></h2> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <div class="main-page-post"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </div> <?php endwhile; wp_reset_postdata()?> <?php } } ?>When I display posts through Pods, this code only displays a list of categories, and cannot post to them.
is there any solution for my problem?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Print field nameThanks!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Print field nameHi Jory
I created Custom Post type.i used File / Image / Video field
with header editing enabledI want to display the file header in the template
good afternoon.
after updating the error in the admin panel
<script type=”text/javascript”>
window.pum_popup_settings_editor =;
</script>
Viewing 6 replies - 1 through 6 (of 6 total)