gandalf3
Forum Replies Created
-
single.php
<?php /** * The template for displaying all single posts. * * @package accesspress_parallax */ get_header(); ?> <div class="mid-content clearfix"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php $post_pagination = of_get_option('post_pagination'); if( $post_pagination == 1 || !isset($post_pagination)) : accesspress_parallax_post_nav(); endif; ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; ?> <?php endwhile; // end of the loop. ?> </main><!-- #main --> </div><!-- #primary --> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
Page.php
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package accesspress_parallax */ get_header(); ?> <?php if(of_get_option('enable_parallax') == 1 && is_front_page() && get_option( 'show_on_front' ) == 'page'){ get_template_part('index','parallax'); }else{ ?> <div class="mid-content clearfix"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php global $page; if(of_get_option('enable_parallax') == 0 || is_singular()): ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; ?> <?php endwhile; // end of the loop. ?> <?php else: echo wpautop($page->post_content); endif; ?> </main><!-- #main --> </div><!-- #primary --> <?php get_sidebar(); ?> </div> <?php } ?> <?php get_footer(); ?>
Got it. Would I need to ask the hosting people to do it in this case?
I see. But how do I get those files to show up in the child theme editor? Also, if I posted the contents of those files from the parent theme, would you be able to point me at the right place? I am not too well-versed in WP code. But I do know some PHP.
So I only have functions.php and styles.css on the list. However, it seems to only allow additional edits to be placed there rather than modify the original files. Does it make a difference if I am using a Child Theme? That is, I created a Child using Childify.
Is there a way to access these from WP admin? I am using a hosting and have limited access to files (obviously).
Forum: Fixing WordPress
In reply to: Removing Recent Posts from Pages@ Digico Part,
In my Appearance -> Theme Options, I have a tab called Tools. There is a custom CSS tool there. When I try the following code there, it does not do anything. Is there anything else to try?
.section_thumbnails { display: none; }
What should I look for on the Appearance -> Widgets screen? I disabled it from the Widgets for Shortcakes area. My problem is that this Widget seems to be inserted into the bottom of every page. Where should I start on editing the code? Is that theme-dependent?
I changed the ownership of the wp-content/uploads folder. The verdict is that all the files are actually there. Somehow, they are not displayed in the WordPress at all. This seems to be narrowing the issue down and most likely away from the permissions hypothesis.
I have tried what you suggested. Still, the same problem persists, even at the 777 level. I even tried very small images, just in case the ones I had been using were above some file size set in PHP config. It did not help.
I also tried looking into the wp-content/uploads folder but the standard ec2-user does not have permissions for it. I can only wonder if the actual files get uploaded.
The strange thing is that it looks like the images are created in the media library; one can even get a link for them and view in the browser, but all you see is an empty rectangle with a question mark.
As far as I can tell, yes. I tried a few of different formats and sizes. I suspect it may be some user permissions problem, but it looks alright at first glance.