Forum Replies Created

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

    (@lovelouibell)

    This is my content-loop.php file. this last the file for my contents. please help fix any of them if they are messed up.

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <?php
    global $wind_options;

    if ( is_sticky() || wind_is_featured() || ( ! has_post_thumbnail() && ! wind_get_image() && ! wind_get_video() ) ) {
    if ( has_post_format( ‘image’ ) )
    echo wind_get_image();
    elseif ( has_post_format( ‘video’ ) )
    echo wind_get_video();
    elseif ( has_post_thumbnail() )
    wind_post_thumbnail( $post->ID, ‘featured-image’ ); ?>
    <header class=”entry-header”>
    <?php wind_post_title();
    passion_meta_top(); ?>
    </header>
    <?php if ( is_sticky() || wind_is_featured() || has_post_format( ‘aside’ ) || has_post_format( ‘link’ ) || has_post_format( ‘quote’ ) ){ ?>
    <div class=”entry-content clearfix”>
    <?php if ( has_post_format( ‘image’ ) )
    add_filter(‘the_content’, ‘wind_remove_images’);
    elseif ( has_post_format( ‘video’ ) )
    add_filter(‘the_content’, ‘wind_remove_videos’);
    the_content( wind_readmore_link() );
    if ( has_post_format( ‘image’ ) )
    remove_filter(‘the_content’, ‘wind_remove_images’);
    elseif ( has_post_format( ‘video’ ) )
    remove_filter(‘the_content’, ‘wind_remove_videos’);
    ?>
    </div>
    <?php
    } else { ?>
    <div class=”entry-summary clearfix”>
    <?php the_excerpt(); ?>
    </div>
    <?php }
    } else { ?>
    <div class=”row collapse”>
    <div class=”medium-4 small-4 columns”>
    <?php
    if ( has_post_format( ‘image’ ) )
    echo wind_get_image();
    elseif ( has_post_format( ‘video’ ) )
    echo wind_get_video();
    elseif ( has_post_thumbnail() )
    wind_post_thumbnail( $post->ID, ‘featured-thumb’, ‘wind-thumb’ );
    ?>
    </div>
    <div class=”medium-8 small-8 columns entry-intro”>
    <header class=”entry-header”>
    <?php wind_post_title();
    passion_meta_top(); ?>
    </header>
    <div class=”entry-summary hide-for-small”>
    <?php the_excerpt();?>
    </div>
    </div>
    </div>
    <?php
    }
    wind_single_post_link();
    wind_post_edit(); ?>
    <footer class=”entry-footer clearfix”>
    <?php
    wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘passion’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) );
    passion_meta_bottom();
    ?>
    </footer>
    </article>

    Thread Starter lovelouibell

    (@lovelouibell)

    This is my content-page.php file
    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php
    if ( ” != get_the_title() ) { ?>
    <header class=”entry-header clearfix”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    </header>
    <?php
    }
    ?>
    <div class=”entry-content clearfix”>
    <?php
    the_content();
    wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘passion’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    </div>
    <?php wind_post_edit(); ?>
    </article>

    Thread Starter lovelouibell

    (@lovelouibell)

    This is my content-non.php
    <article id=”post-0″ class=”post hentry no-results not-found”>
    <header class=”entry-header”>
    <h1 class=”entry-title”><?php _e( ‘Nothing Found’, ‘passion’ ); ?></h1>
    </header>

    <div class=”entry-content”>
    <?php if ( is_home() ) { ?>
    <p><?php printf( __( ‘Ready to publish your first post? Get started here.’, ‘passion’ ), admin_url( ‘post-new.php’ ) ); ?></p>
    <?php } else { ?>
    <?php if ( is_search() ) { ?>
    <p><?php _e( ‘Sorry, but nothing matched your search terms. Please try again with some different keywords.’, ‘passion’ ); ?></p>
    <?php } else { ?>
    <p><?php _e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘passion’ ); ?></p>
    <?php } ?>
    <?php get_search_form(); ?>
    <?php } ?>
    </div>
    </article>

    Thread Starter lovelouibell

    (@lovelouibell)

    This is my content.php file

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <?php
    	global $wind_options;
    
    	if ( has_post_format( 'image' ) )
    		echo wind_get_image();
    	elseif ( has_post_format( 'video' ) )
    		echo wind_get_video();
    	else
    		wind_post_thumbnail( $post->ID );
    ?>
    	<header class="entry-header">
    <?php
    		wind_post_title();
    		passion_meta_top();
    ?>
    	</header>
    	<div class="entry-content clearfix">
    <?php
    		if ( is_single() && has_excerpt() ) { ?>
    			<div class="entry-excerpt clearfix">
    				<?php the_excerpt(); ?>
    			</div>
    <?php	}
    		if ( has_post_format( 'image' ) )
    			add_filter('the_content', 'wind_remove_images');
    		elseif ( has_post_format( 'video' ) )
    			add_filter('the_content', 'wind_remove_videos');
    		the_content( '' );
    		if ( has_post_format( 'image' ) )
    			remove_filter('the_content', 'wind_remove_images');
    		elseif ( has_post_format( 'video' ) )
    			remove_filter('the_content', 'wind_remove_videos');
    		wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'passion' ) . '</span>', 'after' => '</div>' ) );
    ?>
    	</div>
    	<footer class="entry-footer clearfix">
    <?php	passion_meta_bottom();
    		wind_post_edit();
    		wind_author_info();
    ?>
    	</footer>
    </article>

    Thread Starter lovelouibell

    (@lovelouibell)

    No I have not made any changes what so ever. This started starting occurring after i after i installed a simple soundcloud plugin and then I deactivated it in less than 10 minutes. But I never once made any changes to my plugin’s single.php file/ I dont even know where I can find this coding.

    Thread Starter lovelouibell

    (@lovelouibell)

    I followed the instructions and it is now telling me that I need to Update my .htaccess. I also tried to see see if the mobile version was working and the same error message is still popping up. I also tried using a different browser such as Google Chrome, but instead of an error message appearing, it says “404 Error”

    I just simply dont understand what the problem could be.

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