592 reputation
212
bio website horttcore.de
location Saarbrücken, Germany
age 30
visits member for 4 years, 2 months
seen Dec 5 at 12:53

I <3 WordPress


Nov
25
comment Use one template for different custom post types with the same markup
Don't get the question right, but maybe this will help. Add a single-$post_type.php for every post type you wan't to have the same "template" for. Then <?php require('path/to/the/real/file.php') ?> in the file. This will help you visualize the template hierarchy. wphierarchy.com
Nov
25
comment What capabilities are assigned to unauthenticated users?
A I didn't check the codex for the read capability. Thought it would be something like read posts.
Nov
25
comment Custom taxonomy archive is visible to only subscibed users
Where do you call this function?
Nov
24
answered How to put a form with php code into a variable or shortcode?
Nov
24
comment How to put a form with php code into a variable or shortcode?
This is wrong as the function should return the output not echo it.
Nov
24
comment Custom taxonomy archive is visible to only subscibed users
Can you show us the code how you've registered the post type and taxonomy?
Nov
24
answered What capabilities are assigned to unauthenticated users?
Nov
12
awarded  Popular Question
Oct
14
awarded  Nice Question
Jul
23
comment wordpress permalinks error 404
Are you sure that the structure is localhost/wordpress/wordpress? What happens when you remove a wordpress so /wordpress/about/? Prolly wrong file structure.
Jul
1
comment ThickBox width can't be changed in admin
tb_position() is overwritten in media.js due the media modal box. This js file is nearly implemented everywhere in backend.
Jul
1
comment Strip shortcode from specific post types (formats)
Now returning the content
Jul
1
revised Strip shortcode from specific post types (formats)
Forgot to return the content
Jul
1
comment Strip shortcode from specific post types (formats)
Haha yeah you are right :-)
Jun
30
answered Strip shortcode from specific post types (formats)
May
28
comment Wordpress clone from live to local
Did you search & replace the whole DB instead of the option fields only? Do you use pretty permalinks? Did you regenerate the htaccess file?
Oct
8
comment using wp_remote_get instead of file_get_contents
If the body of a document is also a json file then use json_encode()
Sep
27
answered using wp_remote_get instead of file_get_contents
Sep
27
comment using wp_remote_get instead of file_get_contents
Don't use json_decode($output['body'] instead use wp_remote_retrieve_body( $output )
Sep
27
comment Trigger a function immeditely after a user posted a comment
Use add_action( 'wp_insert_comment', 'get_comment_custom', 10, 2); The id and comment are passed as arguements.