Forum Replies Created

Viewing 4 replies - 61 through 64 (of 64 total)
  • Thread Starter Fritsje

    (@fritsje)

    Thanks for you reply, but it does not show up for me, anywhere.

    I see on your test-site that you have the rating-stars in the content-sidebar too.

    I have a slightly adjusted version of 2014 but to be clear:

    After installing and activating the plugin I need to put this code:
    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

    in content.php of my 2014 child theme folder, which looks like this:

    <?php
    /**
     * The default template for displaying content
     *
     * Used for both single and index/archive/search.
     *
     * @package WordPress
     * @subpackage Twenty_Fourteen
     * @since Twenty Fourteen 1.0
     */
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<!-- <?php twentyfourteen_post_thumbnail(); ?> -->
    
    	<header class="entry-header">
    		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
    		<div class="entry-meta">
    			<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    		</div>
    		<?php
    			endif;
    
    			if ( is_single() ) :
    				the_title( '<h1 class="entry-title">', '</h1>' );
    			else :
    				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
    			endif;
    		?>
    
    		<div class="entry-meta">
    			<?php
    				if ( 'post' == get_post_type() )
    					twentyfourteen_posted_on();
    
    				if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
    			?>
    			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
    			<?php
    				endif;
    
    				edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
    			?>
    		</div><!-- .entry-meta -->
    	</header><!-- .entry-header -->
    
    	<?php if ( is_search() ) : ?>
    	<div class="entry-summary">
    		<?php the_excerpt(); ?>
    	</div><!-- .entry-summary -->
    	<?php else : ?>
    	<div class="entry-content">
    		<?php
    			the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
    			wp_link_pages( array(
    				'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
    				'after'       => '</div>',
    				'link_before' => '<span>',
    				'link_after'  => '</span>',
    			) );
    		?>
    	</div><!-- .entry-content -->
    	<?php endif; ?>
    
    	<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
    </article><!-- #post-## -->

    [Moderator Note: Please post code & markup between backticks or use the code button (not the blockquote one). Your posted code may now have been permanently damaged by the forum’s parser.]

    I cannot find “the_post_link()” in there, so have no idea where to place the code (tried a few spots though, but no luck).

    Thanks for your help.

    Thread Starter Fritsje

    (@fritsje)

    Yhanks for trying! I have only tested this on PC’s and all of them show this issue: left sidebar is gone, mobile menu-button appears on the top right and all is back to ‘normal’ once another page is loaded.

    Again: thank you for trying.

    Thread Starter Fritsje

    (@fritsje)

    This error is present since the day I installed W3 Total Cache, every few weeks I try to find a sollution but never succeeded. Let’s hope some angel from cache-heaven comes down to show us the light…

    I have the same issues with W3 Total Cache: I am sure the ‘system’ can write to my .htaccess file because I can edit it within my WP admin through Yoast SEO plugin (I gave it 666 and could edit it after that, 664 didn’t work) but W3 Total Cache still thinks it cannot access the file (and therefore a lot of things don’t seem to work).

    I use WinSCP (free FTP program) to find .htaccess files (Command->find files) and found out that I have .htaccess files in the following locations:

    /public_html/cgi-bin/
    /public_html/wp-content/cache/page_enhanced/
    /public_html/wp-content/cache/tmp/

    and 5 more locations, I suggest you do a search too.

Viewing 4 replies - 61 through 64 (of 64 total)