Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter jshebester

    (@jshebester)

    I’m glad my first experience with support was the exception and not the norm!

    Thread Starter jshebester

    (@jshebester)

    Will do, thanks!

    Thread Starter jshebester

    (@jshebester)

    Nope, I’m using a content management plugin called Easy.
    http://ww.wp.xz.cn/plugins/easy/
    I am fairly new to all of this, so I’m just kinda piecing stuff together as I go.

    Thread Starter jshebester

    (@jshebester)

    Yeah, I tried that one. It must have something to do with me feeding the posts into the sidebars. I guess I’ll just leave it all alone, it’s working fine now as it is.

    Thread Starter jshebester

    (@jshebester)

    Sorry for what is going to seem like a stupid question, but what is the name of the switch for that? I thought I tried everything on the feed to post tab. I have it working now, but i ended up changing some of the code in the single.php file to accomplish it. That’s all well and good until it comes time to update!

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    I’m not using any custom code for the home page, it’s a custom template populated with widgets using the “Easy” content management plugin.

    Knowing how to make links open in new windows would be cool, but honestly, I think I like the way it operates as it stands right now! I was reading that many users are annoyed by links opening in new windows. You’ve been a gigantic help, thanks so much!

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    Fantastic! Thank you so much, Frizax! The opening in new windows part didn’t work for me (yet), but the titles link directly to the source which is the main thing I was after. The links on facebook even redirect directly to the source as I wanted. Thanks a million!

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    My bad, I’m a bit new here.

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    <?php
    /**
     * Shows the title of the post along with the meta information. This file should not be loaded by itself, but should instead be included using get_template_part or locate_template.
     * Users can override this in a child theme. If you want a different style of title and meta for a different custom post type, you can create a file
     * called post-header-<post-type>.php. E.g. post-header-book.php. If you want a different structure for posts / pages, you could use post-header-post.php and/or
     * post-header-page.php.
     *
     * @since 3.8.3
     * @package Suffusion
     * @subpackage Custom
     */
    
    global $post, $suf_page_show_comment, $suf_page_show_posted_by, $suf_page_meta_position, $suf_byline_before_permalink, $suf_byline_after_permalink,
           $suf_byline_before_category, $suf_byline_after_category, $suf_byline_before_tag, $suf_byline_after_tag, $suf_byline_before_edit, $suf_byline_after_edit;
    $format = suffusion_get_post_format();
    if ($format == 'standard') {
    	$format = '';
    }
    else {
    	$format = $format . '_';
    }
    $meta_position = 'suf_post_' . $format . 'meta_position';
    $show_cats = 'suf_post_' . $format . 'show_cats';
    $show_posted_by = 'suf_post_' . $format . 'show_posted_by';
    $show_tags = 'suf_post_' . $format . 'show_tags';
    $show_comment = 'suf_post_' . $format . 'show_comment';
    $show_perm = 'suf_post_' . $format . 'show_perm';
    $with_title_show_perm = 'suf_post_' . $format . 'with_title_show_perm';
    
    global $$meta_position, $$show_cats, $$show_posted_by, $$show_tags, $$show_comment, $$show_perm, $$with_title_show_perm;
    $post_meta_position = $$meta_position;
    $post_show_cats = $$show_cats;
    $post_show_posted_by = $$show_posted_by;
    $post_show_tags = $$show_tags;
    $post_show_comment = $$show_comment;
    $post_show_perm = $$show_perm;
    $post_with_title_show_perm = $$with_title_show_perm;
    
    if (is_singular()) {
    	$header_tag = "h1";
    }
    else {
    	$header_tag = "h2";
    }
    
    if ($post->post_type == 'post') {
    	?>
    <header class='post-header title-container fix'>
    	<div class="title">
    		<<?php echo $header_tag;?> class="posttitle"><?php echo suffusion_get_post_title_and_link(); ?></<?php echo $header_tag;?>>
    	<?php
     			if ($post_meta_position == 'corners') {
    	?>
    	<div class="postdata fix">
    		<?php
    		$title = get_the_title();
    		if (($post_show_perm == 'show-tleft' || $post_show_perm == 'show-tright') && (($title == '' || !$title) || (!($title == '' || !$title) && $post_with_title_show_perm != 'hide'))) {
    			$permalink_text = apply_filters('suffusion_permalink_text', __('Permalink', 'suffusion'));
    			$prepend = apply_filters('suffusion_before_byline_html', do_shortcode($suf_byline_before_permalink), 'permalink');
    			$append = apply_filters('suffusion_after_byline_html', do_shortcode($suf_byline_after_permalink), 'permalink');
    			echo "<span class='permalink'><span class='icon'> </span>".$prepend.suffusion_get_post_title_and_link($permalink_text).$append."</span>\n";
    		}
    
    		if (($post_show_posted_by == 'show-tleft' || $post_show_posted_by == 'show-tright') && $post_meta_position == 'corners') {
    			suffusion_print_author_byline();
    		}
    		if ($post_show_cats == 'show' || $post_show_cats == 'show-tright') {
    			$prepend = apply_filters('suffusion_before_byline_html', do_shortcode($suf_byline_before_category), 'category');
    			$append = apply_filters('suffusion_after_byline_html', do_shortcode($suf_byline_after_category), 'category');
    			?>
    			<span class="category"><span class="icon"> </span><?php echo $prepend; the_category(', '); echo $append; ?></span>
    			<?php
    
    		}
    		if (is_singular()) {
    			if (is_attachment()) {
    				$mime = get_post_mime_type();
    				if (strpos($mime, '/') > -1) {
    					$mime = substr($mime, 0, strpos($mime, '/'));
    				}
    				$comments_disabled_var = "suf_{$mime}_comments";
    				global $$comments_disabled_var;
    				if (isset($$comments_disabled_var)) {
    					$comments_disabled = $$comments_disabled_var;
    				}
    				else {
    					$comments_disabled = false;
    				}
    			}
    			else {
    				$comments_disabled = false;
    			}
    
    			if ('open' == $post->comment_status && ($post_show_comment == 'show' || $post_show_comment == 'show-tleft') && !$comments_disabled) {
    				?>
    				<span class="comments"><span class="icon"> </span><a href="#respond"><?php _e('Add comments', 'suffusion'); ?></a></span>
    				<?php
    
    			}
    		}
    		else if ($post_show_comment == 'show' || $post_show_comment == 'show-tleft') {
    			?>
    			<span class="comments"><span class="icon"> </span><?php comments_popup_link(__('No Responses', 'suffusion') . ' »', __('1 Response', 'suffusion') . ' »', __('% Responses', 'suffusion') . ' »'); ?></span>
    			<?php
    		}
    		if (get_edit_post_link() != '') {
    			$prepend = apply_filters('suffusion_before_byline_html', do_shortcode($suf_byline_before_edit), 'edit');
    			$append = apply_filters('suffusion_after_byline_html', do_shortcode($suf_byline_after_edit), 'edit');
    			?>
    			<span class="edit"><span class="icon"> </span><?php edit_post_link(__('Edit', 'suffusion'), $prepend, $append); ?></span>
    			<?php
    
    		}
    		if ($post_show_tags == 'show-tleft' || $post_show_tags == 'show-tright') {
    			$tags = get_the_tags();
    			$prepend = apply_filters('suffusion_before_byline_html', do_shortcode($suf_byline_before_tag), 'tag');
    			$append = apply_filters('suffusion_after_byline_html', do_shortcode($suf_byline_after_tag), 'tag');
    			if (is_array($tags) && count($tags) > 0) {
    			?>
    			<span class="tags tax"><span class="icon"> </span><?php the_tags($prepend, ', ', $append); ?></span>
    			<?php
    			}
    		}
    		?>
    	</div><!-- /.postdata -->
    		<?php
    
    }
    	?>
    </div><!-- /.title -->
    	<?php
     		if ("post" == $post->post_type) {
    		?>
    	<div class="date"><span class="month"><?php the_time('M'); ?></span> <span
    			class="day"><?php the_time('d'); ?></span><span class="year"><?php the_time('Y'); ?></span></div>
    	<?php
    
    	}
    	?>
    </header><!-- /.title-container -->
    	<?php
    
    }
    else {
    	if (!is_singular()) {
    		?>
    <header class="post-header fix">
    	<<?php echo $header_tag; ?> class="posttitle"><?php echo suffusion_get_post_title_and_link(); ?></<?php echo $header_tag; ?>>
    </header>
    	<?php
    	}
    	else {
    		$hide_title = suffusion_get_post_meta($post->ID, 'suf_hide_page_title', true);
    		if (!$hide_title) {
    			?>
    <header class="post-header fix">
    	<<?php echo $header_tag; ?> class="posttitle"><?php the_title(); ?></<?php echo $header_tag; ?>>
    </header>
    		<?php
    		}
    	}
    
    	if ($post->post_type == 'page' && $suf_page_meta_position == 'corners') {
    		?>
    	<div class="postdata fix">
    		<?php
    		if ($suf_page_show_posted_by == 'show-tleft' || $suf_page_show_posted_by == 'show-tright') {
    			suffusion_print_author_byline();
    		}
    
    		if (is_attachment()) {
    			$mime = get_post_mime_type();
    			if (strpos($mime, '/') > -1) {
    				$mime = substr($mime, 0, strpos($mime, '/'));
    			}
    			$comments_disabled_var = "suf_{$mime}_comments";
    			global $$comments_disabled_var;
    			if (isset($$comments_disabled_var)) {
    				$comments_disabled = $$comments_disabled_var;
    			}
    			else {
    				$comments_disabled = false;
    			}
    		}
    		else {
    			$comments_disabled = false;
    		}
    
    		if ('open' == $post->comment_status && ($suf_page_show_comment == 'show' || $suf_page_show_comment == 'show-tleft') && !$comments_disabled) {
    			?>
    			<span class="comments"><span class="icon"> </span><a href="#respond"><?php _e('Add comments', 'suffusion'); ?></a></span>
    			<?php
    
    		}
    		if (get_edit_post_link() != '') {
    			$prepend = apply_filters('suffusion_before_byline_html', do_shortcode($suf_byline_before_edit), 'edit');
    			$append = apply_filters('suffusion_after_byline_html', do_shortcode($suf_byline_after_edit), 'edit');
    			?>
    			<span class="edit"><span class="icon"> </span><?php edit_post_link(__('Edit', 'suffusion'), $prepend, $append); ?></span>
    			<?php
    
    		}
    		?>
    	</div>
    		<?php
    
    	}
    }
    ?>
    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    Thanks for all of your efforts btw.

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    Sure thing.

    [Excessive and un-code buttoned code removed]

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    I’m not sure what a custom field name is or where it can be found. Is that something imported by RSS multi importer? I think I see where you’re going, I’m just missing a piece or two!

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    Would it just be a matter of editing the file to redirect to the URL that is in the title on the post page? PHP has never been a strong point. Where could I find what that is labeled as?

    Forum: Hacks
    In reply to: link redirection
    Thread Starter jshebester

    (@jshebester)

    I’ll have to check that out. I was hoping for a plugin, but beggars can’t be choosers! Would this fix apply to every post automatically?

    Thread Starter jshebester

    (@jshebester)

    That would work, but I would have to manually plug in the external address for every single post. I’m looking for something a little more automated.

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