Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Cammy_WP

    (@cammy_wp)

    Ok 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**.
    set Owner and Group to www and enable it with set.

    In wordpress – under media settings, change your current folder to where ever you want. example: ../uploads this 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.

    Thread Starter Cammy_WP

    (@cammy_wp)

    that 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/uploads

    after 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

    Marvelous!!!
    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!

    Thread Starter Cammy_WP

    (@cammy_wp)

    Thank you for the advices! got it working 🙂

    I 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;
    	}
    Thread Starter Cammy_WP

    (@cammy_wp)

    Yes! Marvelous! Works like charm <3

Viewing 6 replies - 1 through 6 (of 6 total)