Forum Replies Created

Viewing 15 replies - 91 through 105 (of 107 total)
  • Thread Starter Action Turtle

    (@benjaminbernard)

    Ok cool… Thats actually what I need because its just for one site in my multisite install… Thanks so much!!!

    Thread Starter Action Turtle

    (@benjaminbernard)

    Really? It seems to be working perfectly… If I type in the www. or just https:// it takes me the same site and keeps the url masked rather than showing the actual url.

    So Im guessing since its working perfectly and you tell me that won’t be enough… Is that because I am screwing up my SEO for the individual sites that I have?

    I think I am trying to use multi site correctly… They are all completely different sites about different things with different content…. But its awesome because I can manage them all from one place… But it screws up when I want them to all have their own domain names… Not newsite.mysetwork.com So this seems to be doing the trick to mask the url with the domain name i bought for it… But please tell me if you think I am messing up my SEO for the different sites… Thanks so much!

    Thread Starter Action Turtle

    (@benjaminbernard)

    oh cool… that plugin was a little complex for what i was trying to do… figured it out ?? just needed to have my host set up forwarding with masking ?? thanks so much…

    Thread Starter Action Turtle

    (@benjaminbernard)

    makes total sense… i am going opt for the easy route and not optimize my images right now… maybe later… but most are small anyway… Thanks for the quick response ??

    Any plan to have smushit run completely on the server so it can smush the image before sending it to S3 or other plugins people might use?

    Thread Starter Action Turtle

    (@benjaminbernard)

    Yea I really want to go with Nginx, I have been reading into it like crazy. Trying to figure out my best plan on caching with w3 super cache and using elasticache with my ec2 instance. It looks doable but pretty complicated. Definitely a Debian guy ?? running Ubuntu 12.04 LTS i think…

    But this thread is so off topic now we should probably close it and when I start to run into problem I will post in the correct spot and head line ??

    Thanks so much! You guys rock!

    Thread Starter Action Turtle

    (@benjaminbernard)

    I was using subfolders. But really wanted to use subdomains instead for SEO so each site gets indexed separately.

    Yea Nginx not using .htaccess, being much faster and using less memory from what I have read were my reason for wanting to switch. I thought without the .htaccess file the multi-site installation might be easier to set up.

    What would you suggest Patrick, Nginx or Apache? A very good IT friend said to go with Apache because its what everyone uses and WP is built around it. But my thought was that technology evolves and Nginx seems like the next step for growing sites. Why not get started now, even if it is harder. I am probably going to have to adopt it anyway at some point.

    Thread Starter Action Turtle

    (@benjaminbernard)

    Nothing except what WP has asked me to past in to there…

    But I have decided to move to Nginx from Apache for speed reasons and because multisite was not working and really does not make sense why it is not working, it should be…

    I am still configuring the new server and will install WP multisite later tonight when I finish the config… Might fix my problem, might open up a whole new can of worms…

    Any advice for setting up multisite on Nginx? If not, no worries ?? I am sure I might be on here soon asking questions… thanks for your reply Mika… I see you answer a lot of peoples questions on here… Good on ya man… WordPress and all of us owe you…

    Thread Starter Action Turtle

    (@benjaminbernard)

    Figured it out!!!

    Was in my theme functions… It was set for an array for only post and pages… I guess in previous versions its just ignored this and put the featured image on everything… But in 3.9 the fixed it so the code ran correctly and limited it to just the post and pages… Setting it to

    add_theme_support( 'post-thumbnails' );

    vs

    add_theme_support( 'post-thumbnails' );
    add_theme_support( 'post-thumbnails', array( 'post' ) );
    add_theme_support( 'post-thumbnails', array( 'page' ) );
    add_theme_support( 'post-thumbnails', array( 'post', 'movie' ) );

    Just thought to let you guys know… Thanks again…

    Thread Starter Action Turtle

    (@benjaminbernard)

    Yea no luck re-loading the theme…

    If anyone knows how to re-enable the featured image in WP 3.9 that would be amazing!!!

    Also does anyone else notice that the dashboard is taking forever to load and tabs in the dashboard are taking forever… But the site itself if pretty snappy…

    Thread Starter Action Turtle

    (@benjaminbernard)

    Yea I am using a custom theme… But the guys I got it from disappeared ?? I will try to re-upload it… Thanks

    Thread Starter Action Turtle

    (@benjaminbernard)

    Found the code that I think I needed to duplicate and change… But when I did I got fatal errors back on the lines that I had changed…

    All the places that say “location-services” used to just say “services” and I appended the “location-” on to it… … Here is the code that I have… Any help would be huge… Thanks so much ??

    add_action('init', location-services_custom_init');  
    
    	/*-- Custom Post Init Begin --*/
    	function location-services_custom_init()
    	{
    	  $labels = array(
    		'name' => _x('Items', 'post type general name', 'playne'),
    		'singular_name' => _x('Item', 'post type singular name', 'playne'),
    		'add_new' => _x('Add New', 'member', 'playne'),
    		'add_new_item' => __('Add New Item', 'playne'),
    		'edit_item' => __('Edit Item', 'playne'),
    		'new_item' => __('New Item', 'playne'),
    		'view_item' => __('View Item', 'playne'),
    		'search_items' => __('Search Items', 'playne'),
    		'not_found' =>  __('No Items found', 'playne'),
    		'not_found_in_trash' => __('No Items found in Trash', 'playne'),
    		'parent_item_colon' => '',
    		'menu_name' => 'Location Services'
    
    	  );
    
    	 $args = array(
    		'labels' => $labels,
    		'public' => true,
    		'publicly_queryable' => true,
    		'show_ui' => true,
    		'show_in_menu' => true,
    		'query_var' => true,
    		'rewrite' => true,
    		'capability_type' => 'post',
    		'has_archive' => true,
    		'hierarchical' => false,
    		'menu_position' => null,
    		'supports' => array('title','editor', 'thumbnail', 'custom-fields')
    	  );
    	  // The following is the main step where we register the post.
    	  register_post_type('location-services',$args);
    
    	}
    
    	add_filter('post_updated_messages', 'services_updated_messages');
    
    	function services_updated_messages( $messages ) {
    	  global $post, $post_ID;
    
    	  $messages['services'] = array(
    		0 => '', // Unused. Messages start at index 1.
    		1 => sprintf( __('Service updated. <a href="%s">View service</a>'), esc_url( get_permalink($post_ID) ) ),
    		2 => __('Custom field updated.', 'playne'),
    		3 => __('Custom field deleted.', 'playne'),
    		4 => __('Service updated.', 'playne'),
    		/* translators: %s: date and time of the revision */
    		5 => isset($_GET['revision']) ? sprintf( __('Service restored to revision from %s', 'playne'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
    		6 => sprintf( __('Service published. <a href="%s">View item</a>'), esc_url( get_permalink($post_ID) ) ),
    		7 => __('Item saved.', 'playne'),
    		8 => sprintf( __('Service submitted. <a target="_blank" href="%s">Preview service</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
    		9 => sprintf( __('Service scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview service</a>'),
    		  // translators: Publish box date format, see https://php.net/date
    		  date_i18n( __( 'M j, Y @ G:i', 'playne' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ),
    		10 => sprintf( __('Service draft updated. <a target="_blank" href="%s">Preview service</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
    	  );
    
    	  return $messages;
    }
    Thread Starter Action Turtle

    (@benjaminbernard)

    Yea so just duplicating that document and renaming it was not enough…

    One clue might be that when I am working with the nav menu… You know how you add links from the left to the menu… There are the usual ones, pages, links, categories, post archive… But now there are three additional ones all called item…

    I would guess maybe there is some code I have to duplicate and rename in my functions.php

    Thanks for any help with this…

    Thread Starter Action Turtle

    (@benjaminbernard)

    Hey figured it out ??

    I was doing…

    <img src="<?php the_post_thumbnail(); ?>" />

    I needed to be doing…

    <?php the_post_thumbnail(); ?>

    Funny that you actually need less code as wordpress get more advanced… Cool… Thanks…

    Thread Starter Action Turtle

    (@benjaminbernard)

    Thanks so much for your help Marvin…

    It seems to be working but for some reason I am getting the missing image display rather than the image that I have set to the featured image…

    I checked that I have thumbnail support enabled in my functions.php file

    I double check that images were definitely uploaded to the server and wordpress properly broke down the images into the proper resolutions…

    So I really don’t understand why I am getting the missing image tag… Thanks man

    Yea I think this is it… Sorry I’m a video guy new to the world of code ??

    array (
    ‘server’ => ‘Apache’,
    ‘php’ => ‘5.3.24’,
    ‘wp’ => ‘3.5.1’,
    ‘ytc’ => ‘1.5.1’,
    ‘title’ => ‘DW Political Channel’,
    ‘channel’ => ‘thedockworkers’,
    ‘vidqty’ => ‘1’,
    ‘playlist’ => ‘political’,
    ‘usepl’ => ‘on’,
    ‘only_pl’ => NULL,
    ‘getrnd’ => ‘on’,
    ‘maxrnd’ => ’10’,
    ‘goto_txt’ => ”,
    ‘showgoto’ => NULL,
    ‘popupgoto’ => NULL,
    ‘target’ => NULL,
    ‘showtitle’ => ‘on’,
    ‘showvidesc’ => ‘on’,
    ‘descappend’ => ”,
    ‘videsclen’ => ”,
    ‘width’ => ‘285’,
    ‘height’ => ”,
    ‘to_show’ => ‘iframe’,
    ‘autoplay’ => NULL,
    ‘lightbox’ => NULL,
    ‘controls’ => NULL,
    ‘fixnoitem’ => ‘on’,
    ‘ratio’ => ‘0’,
    ‘fixyt’ => NULL,
    ‘hideinfo’ => NULL,
    ‘hideanno’ => NULL,
    ‘themelight’ => ‘on’,
    ‘debugon’ => ‘on’,
    )

Viewing 15 replies - 91 through 105 (of 107 total)