472 reputation
536
bio website travis.pflanz.me
location Kansas City, MO
age 34
visits member for 2 years, 5 months
seen Aug 20 at 17:13

I am a code hacker... Meaning I find pieces of code and hack them together to get something mangled and ugly, but usually operational!


Aug
20
comment Moved WordPress to New Server, Now Tries to Download a File
Thanks for the reply. The .htaccess had this added to the file - # Use PHP54 Single php.ini as default AddHandler application/x-httpd-php54s .php After removing it, all seems to work well.
Jul
17
comment How to add chunk of php, html, and sql code to variable an append to $content
Hi Aris, thanks for the reply. I have not tried it, because shortly after posting, I remembered a tip I had learned and figured out a solution - wordpress.stackexchange.com/a/154862/14558 - I am not sure which is better or why... Can you take a look and tell me which and why?
Jun
6
comment How to oEmbed from custom field, responsive to container size and responsive
Actually, this is completely relevant to WordPress. WordPress has built in oEmbed and I have included a method that allows for responsive oEmbeds using a WordPress plugin. The specific issue is how to complete task when the oEmbed is a custom field... But screw it... Close the question because mods do not know the answer... That seems to be the trend here the past 9 months or so. I have talked to a LOT of WP users... This is viewed as an unhelpful and elitist WP community lately. Sad, it used to be helpful.
Jun
6
comment How to oEmbed from custom field, responsive to container size and responsive
If that's the case, can you migrate this to a different SE site? Thanks.
May
20
comment How to Display Custom Meta Box only on Specific Page IDs
Hmmm... It did yesterday, but I tested it again and it didn't. I must have missed something before. Thanks, again.
May
19
comment How to Display Custom Meta Box only on Specific Page IDs
Thanks. It gave me a 500 error without it.
May
18
comment How to Display Custom Meta Box only on Specific Page IDs
A new issue became apparent after using this code. I have added an update to the question.
May
18
comment How to Display Custom Meta Box only on Specific Page IDs
Thanks! The code needs a colon - if($_GET['post'] != 194 || $_GET['post'] != 185 || $_GET['post'] != 2): otherwise a 500 error is returned. SE won't let me edit a single character. Other than that, works great.
May
18
comment How to Display Custom Meta Box only on Specific Page IDs
Thanks! The code needs a colon - if( !in_array($_GET['post'], array('194','185','2') ) ): otherwise a 500 error is returned. SE won't let me edit a single character. Other than that, works great.
Apr
26
comment How to include custom field in shortcode (do_shortcode) in theme file
I just changed out with example fields quickly. Same result.
Mar
18
comment Link images to post
I don't think I read your question completely, sorry... Another question, are these thumbnails that you want to display and link to the post all thumbnails for the post currently being shown, or thumbnails for other posts in the "cars" category? If they are thumbnails for the post currently being shown, what is the benefit for linking only to the page that is already being displayed?
Mar
18
comment Link images to post
I didn't even see the <!-- I would like to add the thumbnails here --> in the code... Must not have read the question fully.
Mar
18
comment Link images to post
One. I answered your question below for both methods. Don't forget to up-vote and click the check mark to accept an answer when it works for you... Looking at your profile, I notice you don't accept too many solutions to your questions.
Mar
18
comment Link images to post
The image sizes in Media Settings only tells WordPress how to resize the images when you upload them. To add an image to the post, you either have to use the "Add Media" button above the content area when creating a new post OR the "Featured Image," which is usually on the right and down towards the bottom. Which of these methods are you using to add the image to the post?
Mar
18
comment Link images to post
By "thumbnail," do you mean the Featured Image or an image that is added inside the content of the post? By your question and posted code, I would assume inside the content, but I just wanted to make sure.
Mar
8
comment How to add style to a string of text throughout WordPress website?
It appears this method is breaking the controls in the Layer Slider plugin (wordpress.kreatura.hu/layersliderwp) I have checked the slider there are no instances of the site name in the slider text, file names or alt or title attributes.
Feb
10
comment Problem with single posts not showing correct category sidebar
You're welcome. Be sure to click the check mark on solutions that you use.
Feb
10
comment Move content between custom post types
What is the CMS?
Feb
10
comment Problem with single posts not showing correct category sidebar
This plugin hasn't been updated in nearly years also.
Feb
8
comment Show content only if member left a comment
Sorry... Must have gone half blind from too much computer screen today!