53 reputation
216
bio website
location
age
visits member for 2 years, 1 month
seen Oct 25 at 20:51

Oct
7
comment Inserting a term into a custom taxonomy
Thanks for the incredibly detailed answer. :_)
Sep
18
comment Building a plugin into a theme
That's what I've been trying to do, but it's really grinding my gears haha.
Sep
17
comment Building a plugin into a theme
Works perfectly as a plugin though.
Sep
17
comment Building a plugin into a theme
It's strange isn't it? I copied template-tags.php into my functions.php and got it somewhat working, I could load the comment template file, but it still says 'ajaxurl' not defined.
Sep
16
comment Building a plugin into a theme
git is just the plugin itself.
Sep
16
comment Building a plugin into a theme
Now a bounty...
Sep
15
comment Building a plugin into a theme
That's magic, I appreciate it! Sometimes things that should be simple don't work and it drives me mad.
Sep
15
comment Building a plugin into a theme
I already made a duplicate, put the relevant scripts etc into my theme folder, I'm just having trouble getting template-tags.php to load and console gives me 'ajaxurl is not defined' as a result. Here's the plugins' git if you're interested github.com/pommiegranit/paragraph_commenting
Sep
14
comment Building a plugin into a theme
As you can see, the first part of my question is the raw plugin and I changed the code in my functions.php to load the scripts from their folders. I just don't know how to get the vital part, template-tags.php to load, even pasting it into my functions.php doesn't work.
Sep
14
comment Building a plugin into a theme
Yup, pretty sure, what else is there?
Sep
13
comment Building a plugin into a theme
So an inc folder in my plugin directory wouldn't work with that hook? Or is there another hook? I've tried just pasting template-tags.php into my functions php, no bueno.
Sep
9
comment Local version of jquery not working right
It loads the enqueued version either way. I can see it's loading from wp-includes. <script type="text/javascript" src="http://192.168.1.141:8888/wp-includes/js/jquery/jquery.js?ver=1.11.1"></scr‌​ipt>
Jul
31
comment wpdb getting avatars and author url
Perfect! :) thanks.
Jul
30
comment $wpdb select date range of posts
Ah damnit, I can't get it working. I'll create a new question for it. Thanks again!
Jul
30
comment $wpdb select date range of posts
Ah, that's amazing, bonger! Thanks. I've asked around a bunch of people about this and you're one of the only ones who's been good with the SQL queries. I accepted your answer, really helped! Just one question as an addendum, I've been trying to do something like this <li> <a href="' . get_author_posts_url( $author->ID ) . '">' . get_the_author_meta( 'user_nicename' , $author->ID ) . '</a> (' . $author->posts . ') ' . get_avatar( $author->ID , 40 ) . ' </li> to display avatar and link to profile urls, but it doesn't seem to accept standard WP markup. Ideas?
Jul
30
comment $wpdb select date range of posts
I edited my original question to reflect the code I'm using. Users are ranked seemingly randomly, not based on either weekly or total votes.
Jul
30
comment $wpdb select date range of posts
After some testing that new output doesn't appear to respect the DESC order for the vote sum.
Jul
30
comment $wpdb select date range of posts
Can you update your answer with it? this sql stuff really goes over my head despite reading the documentation.
Jul
29
comment $wpdb select date range of posts
Having trouble with the concat, want something like this:- CONCAT_WS('<div>VALUE HERE</div>/ this week',, 'VALUE HERE' being the number of votes. Reading about SQL concat_WS now.
Jul
29
comment $wpdb select date range of posts
Excellent, thanks.