igor123
Forum Replies Created
-
Forum: Plugins
In reply to: [My Post Order] [Plugin: My Post Order] Sorting for sidebarSorry for the late response.
How should I put 2 loops on the page. I have at the moment one file called loop.php with the content:
- <?php
-
<span class=”mpo_post_title”>
” title=”<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>”>
<?php if ( get_the_title() ) the_title(); else the_ID(); ?>
</span>
while ($the_query->have_posts()) : $the_query->the_post(); ?><?php
endwhile; ?>Where should I put wp_reset_query(); ?
Thank you again ??
Forum: Plugins
In reply to: [My Post Order] [Plugin: My Post Order] Sorting for sidebarThank you Kapil!
If I’m changing your suggestion:
$args = array( ‘numberposts’ => 10, ‘offset’=> 1, ‘category’ => 8 );
to
$args = array( ‘section_name’ => ‘Offers’ );it just displays ALL the latest created Posts in wordpress, no matter what category/section I’m using for section_name. Sadly it doesn’t take the section-posts.
Do you know what the problem is?
Thank you
Forum: Plugins
In reply to: [My Post Order] [Plugin: My Post Order] Sorting for sidebarThank you I really appreciate your help ??
You can find a picture with details of my problem here:
https://www.abload.de/img/mypostorderinfzz.jpgThe articles on the left side are already working with your my post order plugin by adding <?php query_posts(‘section_name=Offers’) ?> before the code <?php if ( have_posts() ) : ?>.
Now my problem:
I want that these Articles, on the left side in the content area, should also show up on the right side, next to the articles, but not the whole post, only the links to the articles of this section.I hope I could explain it a bit better now, if not I can try to give more info ??
Thank you so much again Kapil
Forum: Plugins
In reply to: [My Post Order] [Plugin: My Post Order] Sorting for sidebarThank you Kapil for your response!
Did I understand it right, it is not possible to order the article links from the same section on the sidebar?
You can only sort the articles but not the related article links for the sidebar on the same section/category?Thanks a lot ??
-
<span class=”mpo_post_title”>