Cammy_WP
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: custom upload folderOk solved this.
For any who is using MAMP Pro and u need file permission of WordPress for your uploads folder.
Go to HOST Tab – and click your localhost – there you find a button with **permissions**.
setOwner and Group to wwwand enable it with set.In wordpress – under media settings, change your current folder to where ever you want. example:
../uploadsthis goes right direct in the root/uploads. click on save and you are done and all should work.For Filezilla when your site is online. Once you connected, rightclick on the upload folder and change the permissions there.
Thats it. 1 min work >< took me half a day of research. And most anwsers on forums/posts etc are way too complicated.
This is the quickest and best way using Mamp pro and Filezilla.
Forum: Fixing WordPress
In reply to: custom upload folderthat is way too much at the moment : /
1. wordpress didnt make any .htaccess file
2. used to had wp-content/uploads
3. in settings change it to root/uploadsafter it was not working – so delete what i had modifed and left it blanc so wordpress uses wp-content/uploads
after that nothing seems to working anymore…
and read the file permissions, where do i add and what am i gonna add??? is way to complicated
Forum: Alpha/Beta/RC
In reply to: Show Categories Filter on Custom Post Type ListMarvelous!!!
Genius!!Really, was struggling over for more than a week!
This is the solution above all others post you can find out there 🙂Cheers!
Million thanks for the guidance!
Forum: Hacks
In reply to: stuck on loop custom post_typeThank you for the advices! got it working 🙂
Forum: Alpha/Beta/RC
In reply to: Show Categories Filter on Custom Post Type ListI tried the code, but its not working for me…. the filter does appears in the control panel in the custom post_type. but when applying the filter, nothing is displayed…
I have no idea what I might do wrong…add_action('restrict_manage_posts','specials_restrict_manage_posts'); function specials_restrict_manage_posts() { global $typenow; if ($typenow=='specials'){ $args = array( 'show_option_all' => "Show All Categories", 'taxonomy' => 'type', 'name' => 'type', ); wp_dropdown_categories($args); } } add_action( 'request', 'my_request' ); function my_request($request) { if (is_admin() && isset($request['post_type']) && $request['post_type']=='specials') { $request['term'] = get_term($request['type'],'type')->name; } return $request; }Forum: Fixing WordPress
In reply to: get custom category by name and display the custom post_typeYes! Marvelous! Works like charm <3