ThemeForest

Posts by virgild

47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks Vagrant I know that part but how to I set the number of posts via a widget option? $options['number'];?>

2 years ago in thread Adding widget option in functions.php
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

I’m trying to develop a widget for the popular posts tutorial here http://bavotasan.com/tutorials/how-to-list-your-most-popular-posts-in-wordpress/

I’m not sure how to replace the $num variable in functions.php with

$options['number'];?> which let’s you pick the number of posts to list. I would think that the best way is to incorporate the entire function into the widget but I’m not sure how.

Can someone please help?

2 years ago in thread Adding widget option in functions.php
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks for the comments! I agree not to use most ads but a hosting might be ok as the theme buyer might look for hosting as well.

2 years ago in thread Using ads in themes
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Just curios.. are authors allowed to use real affiliate banners or ads in theme previews?

2 years ago in thread Using ads in themes
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thank you for the info!

2 years ago in thread Can this be done with Wordpress?
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks, I know for sure that a listing system can be created but I’m not so sure if a login system for clients so they can list as well can be done. Not sure if anything like that is limited by Wordpress.

2 years ago in thread Can this be done with Wordpress?
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Do you think that something like http://www.trulia.com/ can be applied on a Wordpress powered site?

2 years ago in thread Can this be done with Wordpress?
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks for the reply! That doesn’t seem to work either :( I guess I’ll just use arrays. I was hoping to achieve it with the more minimal function reference.

2 years ago in thread Custom meta field checkbox
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

Thanks for the suggestion! I’m using the Wordpress meta box function reference as the frame work

http://codex.wordpress.org/Function_Reference/add_meta_box

It contains the code you provided but it still doesn’t work..

Maybe I should use arrays?

2 years ago in thread Custom meta field checkbox
47 posts
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
virgild says

So I’m trying to create a meta box checkbox but I can’t get it to function..

the code I’m using is

 echo '<label for="myplugin_new_field">' . __("Description for this field", 'myplugin_textdomain' ) . '</label> ';
  echo '<input type="checkbox" name="myplugin_new_field" id="myplugin_new_field" value="yes"';
                                    if ( get_post_meta('myplugin_new_field', true ) == "yes" )
                                        echo ' checked="checked"';
                                    echo '" style="width: auto;" />';
}

The checkbox appears in edit post pages without any errors. I check it but after I update the post it becomes unchecked.

Not sure what I’m doing wrong here.. will appreciate any kind of guidance!

2 years ago in thread Custom meta field checkbox
by
by
by
by
by