Reputation
4,734
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 10 34
Impact
~167k people reached

1d
comment Show my custom post id if a country or ip
Please elaborate what you want to achieve, as it is unclear from your description. Are you talking about differen posts depending on the visitors country of origin?
Feb
4
comment Get Post content in another file?
@StephenHarris I think this is more than that - I posted an answer on the correct use of AJAX in plugins. The part of getting the content is not so important than the implementation in WordPress itself.
Feb
4
comment How would you detect if WordPress is installed in a subdirectory (not root)?
@paul - just checked the example - they have to change both values for the temp URL, so it works the same way. I really can't think of any case where this does not work.
Feb
4
comment How would you detect if WordPress is installed in a subdirectory (not root)?
@paul even then both options are the same, and the handling of multiple domains is done somewhere else. Do you have an example where this is not the case?
Feb
3
comment Email not sending on wordpress
Is there a specific reason why you don't use wp_ajax?
Feb
3
comment How would you detect if WordPress is installed in a subdirectory (not root)?
Yes, because that is the definition of where WordPress is installed. If it differs from the URL, it's a subdirectory install.
Feb
2
comment How to Add jQuery cod in wordpress
Are you sure your Theme calls wp_head() and wp_footer()?
Feb
2
comment Add options to featured image
You're absolutely right @birgire - this was to provide a quick solution, and not very efficient in the topic of security and usage of arguments.
Feb
2
comment Wierd site output
Please do the same deactivating the Plugins one by one - when it is gone, you got the bad guy.
Feb
1
comment Wierd site output
Upload the File into your Plugins and activate it. Create a new Class $debug = new R_Debug();, and list your hooks on wp_footer: $debug->list_hooks( 'wp_footer' );
Jan
31
comment Wierd site output
Could you paste your Website source code to pastebin? There might be a clue where you could look.
Jan
29
comment htmll lang=“de” but admin page in English
Did you change the language for the user? The lang attribute in wp-admin is defined by the language of the logged in user.
Jan
26
comment How to show WooCommerce custom value in product page?
Did you initially change the templates in the Woocommerce Plugin folder?
Jan
25
comment Need to manually add multiple WP users with same e-mail address (with good reason)
The easiest way would be to copy the code into functions.php, or create a simple plugin with it. Just be sure it's executed only once.
Jan
19
comment Push metadata in array
It was my understanding that Dorvalla wanted to have all the meta available outside the Object (in his JSON). So if you just need one metavalue or two, not all of them, I would go with your version.
Jan
19
comment where is the 4th taxonomy terms? taxonomy terms is disaapearing in the loop
Can you please confirm that the 4th taxonomy is populated? If not, you need to set 'hide_empty' => false, in your $args.
Jan
19
comment get_template_directory() returns wrong address on VPS
you could just get the json by file_get_contents().
Jan
18
comment Upload Image using wp_insert_attachment and file url don't have file extension
Try checking with the PHP function exif_imagetype()
Jan
18
comment Upload Image using wp_insert_attachment and file url don't have file extension
What does your $filetype return? Did you save this file locally?
Jan
18
comment Embed image in post from external url
Did you try inserting the HTML Code in Text Mode?