areck
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Any way to add attachment to client note email in admin?Thanks for reply. This plugin won’t let me to attach custom invoice (from the external accounting service) per user. I will try to figure out something. Thanks!
Forum: Themes and Templates
In reply to: [Oxygen] comment submit button disappearedthanks man! saved me hours of looking for the resolution!
Thank you. In my case it turned out that I had those settings set up correctly in production account not in testing account panel in Ogone.
any solution to that? I think this is some kind of a problem with the settings in Ogone panel. Anyone resolved that?
Forum: Plugins
In reply to: [Awesome Filterable Portfolio] Thumbnail won't showhow? I can’t make my thumbnail working. Can you share your resolution?
Forum: Fixing WordPress
In reply to: Using post thumbnails outside the loopI managed to display all attachments via code
<?php $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => null ); $attachments = get_posts( $args ); if ($attachments) { foreach ( $attachments as $post ) { setup_postdata($post); the_title(); the_attachment_link($post->ID, false); the_excerpt(); } } ?>That displayed all the attachments including featured images. So how to exclude now any other types of attachments and leave only the featured images?
Forum: Fixing WordPress
In reply to: Using post thumbnails outside the loopIs there any way to display all posts thumbnails outside the loop? I need to create some kind of a gallery with posts thumbnails so i need to display them all together
Forum: Fixing WordPress
In reply to: How to limit the "recent comments" by dateanybody? help π
Forum: Fixing WordPress
In reply to: highlight category links in sidebar once againOk I’ve changed the code and I managed to display categories in sidebar and I can highlight them when entering single post or category archive. But a strange thing happened. When I moved my site to another hosting provider I’m not able to highlight category when I’m in category archive! (Code is is still the same!)
Here’s a code:
<div class="sidemenu"> <?php $categories = get_categories('depth=1&hide_empty=false&exclude=1'); foreach ($categories as $cat) { // Gets currently selected category id. $id = get_the_ID(); $category = get_the_category($id); if($category[0]->cat_ID == $cat->cat_ID){ if(!is_home() && !is_author() && !is_tag() &&){ $link_color = 'style="color:#336699;"'; } echo '<a href="'.get_option('home').get_option('category_base').'/category/'.$cat->category_nicename.'/"' . $link_color . '>'.$cat->cat_name.'</a> '; } else{ echo '<a href="'.get_option('home').get_option('category_base').'/category/'.$cat->category_nicename.'/">'.$cat->cat_name.'</a>'; } if ($cat->category_description != '') { echo '<p><span class="mendesc">' .$cat->category_description. '</span><span style="font-size: 10px; float: right">' . ' (' . $cat->category_count . ')</span></p>'; } else{ echo '<p> </p>'; } if ($cat->category_parent != 0) { echo '<p> </p>'; } } ?> </div>this is so strange! is the hosting provider server not supporting some wp variables?
Forum: Fixing WordPress
In reply to: How to limit the "recent comments" by dateI refresh the question, any idea how it can be done?
Forum: Fixing WordPress
In reply to: highlight category links in sidebar once againanyone? :)still not resolved. It must be very similar to what i’ve done to highlight category when user is in category archive.
Forum: Fixing WordPress
In reply to: display all comments from given monthanyone? :/