2,642 reputation
21134
bio website ghosttoa.st
location United States
age 34
visits member for 3 years, 3 months
seen May 20 at 22:50

Father, Coder, Gamer


Jan
22
comment Load post with a different template?
die() seems a bit harsh. break perhaps?
Jan
17
comment Redirect logged in users if they are on a specific page
check error logs, but wp_redirect() will usually only work if headers haven't been sent yet, so has to happen before get_header(). Actually that seems like legit hook cause it's before headers...
Jan
16
comment Add item to media library from blob or dataUrl
Are the files already on an FTP source somewhere?
Jan
16
comment Can't change parent page
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.
Jan
15
comment Custom Post Type Author limit
As well, you shouldn't comment on that question or answer with your own issues. Experiment and see what you can create! Use your imagination!
Jan
15
comment Insert/Update DB table when making new post or update older one
Have you read this yet? Creating Tables with Plugins « WordPress Codex
Jan
15
comment Custom Post Type Author limit
Here is a previous answer which may help: wordpress.stackexchange.com/a/50012/13676
Jan
15
comment Custom Post Type Author limit
Sure it's possible. Why not crack open one of those plugins and take a look at what made them tick before they stopped working?
Jan
15
comment Use an attachment in multiple posts
I believe @thanassis wishes to re-assign the media to another post, programmatically. I think a plugin exists for this, but it would be tedious if there were many attachments that needed this treatment
Jan
15
comment Use an attachment in multiple posts
Well, an image or piece of media can be mentioned in any number of posts, but it can only be attached to one post. And what you wrote seems to imply otherwise. "The relationship between posts and attachments is preserved in the database. One attachment can be attached to many posts without worry."
Jan
15
comment Use an attachment in multiple posts
I don't believe this is true. Media is attached to 1 or 0 posts, not multiple. post_parent contains one value.
Jan
15
comment
I support your decision and believe you will add value to the site as moderator
Jan
15
comment Garbage code showing up in search result post descriptions
How are you getting the_content() and what filters, if any, are applied to it?
Jan
15
comment
@revo a million billion but... that's 9.9999286e+14 more people than are on this planet!!
Jan
14
comment Media attachment pages giving 404's
Kill the breadcrumbs on attachment page? Make users use their "back" button
Jan
14
comment Pass jquery var to a function in functions.php
The AJAX request should be expecting the PHP function to return a response. So you'd need to put everything together (after verifying it's all kosher) into an array (or string if you've not much to say) and return it
Jan
14
comment Pass jquery var to a function in functions.php
Where would it echo? AJAX is happening on admin side, not client-facing side, in background.
Jan
14
comment Strange get_the_* behavior with php 5.4
Seems this has a lot to do with this plugin: WordPress › Child Pages Shortcode « WordPress Plugins -- tried running your code without the shortcode/plugin reference?
Jan
14
comment Media attachment pages giving 404's
casterconcepts.com/… is 404. Seems like a problem with your permalinking schema or your breadcrumbs plugin.
Jan
14
comment Strange get_the_* behavior with php 5.4
Along these lines, I think it odd that $post is globalized prior to this foreach