csloisel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Screen Options, Help not workingI would try a different browser and if it works any better.
Forum: Fixing WordPress
In reply to: editing widget htmlWell you can’t directly locate the php file containing the markup from the browser, as far as the browser is concerned it is only being served a single html file. You need to look in the plugins folder for the widget plugin you added and see if you can find the template.
Forum: Hacks
In reply to: Possible to enclose RSS feed posts in if statement?Are non logged in users able to see the search feed posts that aren’t published? Because from the way you are describing your problem, your best solution might be to fix the query modification to work properly, not the rss feed.
Forum: Fixing WordPress
In reply to: KnockoutJS won't run on my WordPress installationDo you have a url I can take a look at?
Forum: Fixing WordPress
In reply to: Screen Options, Help not workingWhat browser and browser version are you using?
Forum: Fixing WordPress
In reply to: Posting and FacebookWhat exactly does it say? I have a feeling you may be referring to title and/or tagline which can be changed in the general settings.
Forum: Installing WordPress
In reply to: Is it necessary to start with a blog ?You might want to look into a general php framework instead of a CMS/Blogging platform. I would just start with a framework like Laravel, and look for a getting started guide or tutorial and go from there.
Forum: Fixing WordPress
In reply to: How to display an HTTP "GET"?Well to get you started I would take a look at wp_remote_get(); That will do a GET request and return the results.
Forum: Fixing WordPress
In reply to: How to display an HTTP "GET"?This isn’t really a WordPress issue, you should really be reading the api documentation getting support from the api source. I really recommend just hiring a developer though since this is not really a task for an unexperienced developer.
Forum: Fixing WordPress
In reply to: My blogs wont go on the home page.Everything seems to be working fine for me, I’m really not sure what the issue is.
Actually the divider shouldn’t be using a static id so use:
<?php $rp_query = new WP_Query( array( 'posts_per_page' => 3, 'ignore_sticky_posts' => true ) ); ?> <!-- BEGIN BLOG CALL-OUT SECTION--> <div id="blog_section" class="clearfix"> <?php if ( $rp_query->have_posts() ) : ?> <div id="blog_posts_container" class="clearfix"> <?php while ( $rp_query->have_posts() ) : $rp_query->the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> <div class="post-thumb-wrap image wow fadeIn" data-wow-duration=".5s" data-wow-delay=".5s"> <?php the_post_thumbnail('full'); ?> </div> <p class="post-meta"> <span class="date">Posted <?php the_time('m/j/y g:i A') ?></span> </p> <p class="post-header"> <span class="title"><?php the_title(); ?></span> </p> <div class="post-content"> <?php the_excerpt(); ?> </div> </div> <?php if ( $rp_query->current_post + 1 < $rp_query->post_count ) : ?> <img src="<?php get_template_directory_uri(); ?>/img/blog_divider.png" class="post-divider image" /> <?php endif; ?> <?php endwhile; wp_reset_postdata(); ?> </div> <?php endif; ?> </div> <!-- END BLOG CALL-OUT SECTION-->I took your original code and integrated the loop, and came out with this:
<?php $rp_query = new WP_Query( array( 'posts_per_page' => 3, 'ignore_sticky_posts' => true ) ); ?> <!-- BEGIN BLOG CALL-OUT SECTION--> <div id="blog_section" class="clearfix"> <?php if ( $rp_query->have_posts() ) : ?> <div id="blog_posts_container" class="clearfix"> <?php while ( $rp_query->have_posts() ) : $rp_query->the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> <div class="post-thumb-wrap image wow fadeIn" data-wow-duration=".5s" data-wow-delay=".5s"> <?php the_post_thumbnail('full'); ?> </div> <p class="post-meta"> <span class="date">Posted <?php the_time('m/j/y g:i A') ?></span> </p> <p class="post-header"> <span class="title"><?php the_title(); ?></span> </p> <div class="post-content"> <?php the_excerpt(); ?> </div> </div> <?php if ( $rp_query->current_post + 1 < $rp_query->post_count ) : ?> <img id="blog_divider" src="<?php get_template_directory_uri(); ?>/img/blog_divider.png" class="image" /> <?php endif; ?> <?php endwhile; wp_reset_postdata(); ?> </div> <?php endif; ?> </div> <!-- END BLOG CALL-OUT SECTION-->If this still doesn’t work then the styles are probably off and need to be adjusted, I can’t do that without seeing the page or at least the styles.
Forum: Fixing WordPress
In reply to: Remove widgets on particular pagesYou could create an alternate header template without the sidebar markup to include where you want it. But I should point out that the sidebar in that theme essentially is the header, and it contains the site/title logo which would be gone if you removed the sidebar.
Forum: Fixing WordPress
In reply to: Remove widgets on particular pagesThe sidebar in twentyfifteen is in the header file.
I would remove the
<ul>wrapper, not sure why you added that there.