116 reputation
5
bio website cathedralcomputer.com
location
age
visits member for 2 years, 3 months
seen Nov 19 '13 at 21:59

I am a web developer by trade and freelance WordPress dev'r by night.


Sep
24
awarded  Autobiographer
Nov
11
revised How to remove “read more” link from custom post type excerpt
updated answer
Nov
11
comment Custom Archive with Content for Custom Post Type
I've accomplished something similar with advanced custom fields. Essentially you create option pages, then place the code in that template to test and display it. That's probably going to be your best implementation for it, however I do not believe that is included in the free version.
Nov
11
answered How to remove “read more” link from custom post type excerpt
Nov
11
answered How can I modify text in admin bar?
Nov
11
comment How to remove “read more” link from custom post type excerpt
If you wanted a quick and easy solution, you could always just display:none the read_more link on that specific CPT
Nov
11
comment Inconsistent temporary 404s on whole install | PHP error with post-template.php
My first thought was a permissions issue, but that would persist. Then I was thinking the same as @Matthew, with the db dropping out, but as he said it would trigger an entirely different notice. The 'non-object' error means that it tried to create an object based on a parameter but failed. So my next thought process is that it was supplied an ID that no longer exists. So perhaps it is getting an ID to a post that was deleted? or maybe the ID belonged to a revision that has since been deleted? If you're getting it regularly, (a couple seconds apart) I'd also lean towards a cron-job?
Nov
11
comment Wordpress installation self deleted in server restart. SQL Tables gone too!
have you tried sudo service mysql restart? Sometimes that happens on my local server. It'll restart but mysql will not, saying the tables do not exist. A simple restart reloads them.
Nov
11
awarded  Commentator
Nov
11
comment How to prefill comment-author, -site and -mail inputs when user writes a second comment?
If you have it set so that the user is required to be logged in before they make a comment, then it shouldn't require the author, site, and mail inputs. It wouldn't be saved in a cookie, as those are subjected to being erased. I think you are thinking of how a browser saves input data.
Oct
11
comment Custom SQL Query on Custom Post Type. Order by Taxonomy?
Possibly. You could also try switching the last two AND's to OR's. Just a thought
Oct
9
comment Custom SQL Query on Custom Post Type. Order by Taxonomy?
True...I don't know why I didn't adjust...given how much I had looked at the table. You could also try WHERE $wpdb->posts.post_type = 'publications' AND $wpdb->terms.slug = %s AND $wpdb->term_taxonomy.taxonomy = 'category' OR $wpdb->term_taxonomy.taxonomy = 'topics'
Oct
5
revised If Post Meta Equals Current Title Conditional Advanced Custom Fields
Added fix for acf explanation
Oct
5
comment Grabbing how many posts by month for a dashboard widget
Nicole, I'm seeing the ending bracket for the function, but I'm not seeing the two endforeach; statements. After echo '</h4>; Try putting this twice: endforeach; Once for the foreach ($months as $month) and one for the foreach($years as $year)
Oct
3
comment Grabbing how many posts by month for a dashboard widget
Inside of the foreach($months as $month) loop, write this: echo '<pre>'; var_dump($months); echo '</pre>'; If the month is not showing there, try doing the same thing for the years to make sure you are getting it correctly and to see what you are working with.
Oct
3
comment Grabbing how many posts by month for a dashboard widget
hmmm...just for kicks. Add a new line before the global $wpdb and reset the query: <?php wp_reset_query(); ?> Just to make sure it's not being affected by another query
Oct
3
revised nextgen gallery - filenames' character encoding issue
Added further explanation
Oct
3
comment Grabbing how many posts by month for a dashboard widget
Also, towards the end you may want to adjust the link that it creates. I had done this snippet to create an archive of custom post types. Changing <a href="/mediaposts/'.$year.'/'.$month.'"> to <a href="/'.$year.'/'.$month.'"> should direct you to your archives page
Oct
3
comment Grabbing how many posts by month for a dashboard widget
My apologies. Try putting this before the code: global $wpdb;
Oct
3
answered nextgen gallery - filenames' character encoding issue