ThemeForest

Posts by elemis

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

Hello,

We have buttons with hover and active states. CSS works well but sometimes when the buttons are clicked the active state doesn’t work, it just goes back to normal state even though the mouse is not moved. Please take a look here: http://themes.iki-bir.com/site It happens rarely but is very annoying. Please keep pushing until you see the issue :)

Hope someone can help us.

Thank you in advance!

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

Thank you very much DD!

I want to create this for the “latest work” part on the homepage of Fadelicious theme: http://themeforest.net/item/fadelicious-html-blog-portfolio-template/128793

Previously I modified a shortcode which I found on a tutorial. Post titles etc are successfully drawn, however custom field for image is not working. I don’t know what am I supposed to add to it to make it work.

function my_recent_posts_shortcode($atts){
    extract(shortcode_atts(array('limit' => 5), $atts));

$q = new WP_Query('posts_per_page=' . $limit);
$image = get_post_meta($post->ID, 'main_image', true);
$list = '<ul class="recent-posts">';

while($q->have_posts()) : $q->the_post();

$list .= '<li><a href="'.get_permalink($post->ID).'" title="Permanent Link To ' . the_title_attribute(false).'" rel="bookmark">
 <img src="'. $image .'" alt="Post Pic" />
 </a>' . '</li>';

endwhile;

wp_reset_query();

return $list . '</ul>';
}

add_shortcode('recent_posts', 'my_recent_posts_shortcode');
91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

Hey guys,

We’re trying to create a shortcode to be able to show the latest posts (actually only their thumbnails which are custom fields) in a page. We made some research but couldn’t find any working examples.

We would appreciate any help. Thanks in advance!

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says
/** get the taxonomy lists first */
$gallery_taxs = get_terms('gallery', 'orderby=count&hide_empty=0');

foreach( $gallery_taxs as  $gallery_tax){
         query_posts('post_type=your-post-type&gallery='.$gallery_tax->name.'');
/** loop code */
         wp_reset_query();
}

never try this before :D

good luck

Thank you webinpixels,
Going to try this now :)

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says
When you setup your loop you can just filter it by the post type only, and it’s going to pull all of that custom post type, no matter what the taxonomy is.

So basically, all you’d have to do is put this in your query string:

query_posts('post_type=your-post-type');

(It doesn’t matter if you’re using query posts or not. However, you’re doing your WordPress loop, you just need to use the “post_type” argument in there. )

Sorry now adding to that, I see now what you mean. You want the posts to be separated by your taxonomy terms. If you know what all of your taxonomy terms are, it’s easy. You could just have the loop multiple times and use a different query string:

query_posts('post_type=your-post-type&your-taxonomy=your-current-term');
But if you’re using this like in a theme forest theme, that wouldn’t be a good approach because you don’t know what “categories” the user is going to create. In which case, the answer will get more complicated. So, in your scenario, do you know what x,y,z are? or are you trying to make it so whatever “categories” get created will show?

Thank you themeblvd,
Unfortunately I will use this on a template so I don’t know what the categories will be.

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

Hello guys,

I’m new to custom post types and don’t know how to display all of the contents of a certain custom post type in a page.

For example if I have a custom post type named “gallery”, and if there are categories under it named “x”, “y”, “z”. I want to have a page like this:

gallery:

x:

  • x-post1
  • x-post2

y:

  • y-post1
  • y-post2

z:

  • z-post1
  • z-post2

I would appreciate any help. Thanks in advance.

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

We can help you too. We really wondered what the series is :)

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

We’re experiencing the same issue :(

91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says
91 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Beta Tester
  • Referred between 500 and 999 users
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
  • Exclusive Author
elemis says

SalesDonkey is awesome! I’ve been thinking about such an app a few days ago, and my partner stumbled upon this yesterday. It is actually a dream come true :) Thank you very much for making such a great application.

We don’t know if it’s a bug or not but we have an issue. The sound comes long after the balance is increased. The refresh rate is set to 1min. So the issue may be related to it.

by
by
by
by
by