Skip to content

[Solved] How to move the right sidebar to the correct div in index.php #854

Answered by crftwrk
muddg asked this question in Q&A
Discussion options

You must be logged in to vote

No need to resize the sticky post, because this one has same size as usual posts. Simply move the sticky post item into the <div class="row"><div class="col"> loop.

Here is the updated index.php for Bootscore v6:

<?php

/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Bootscore
 * @version 6.0.0
 */

// Exit if accessed directly
de…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@muddg
Comment options

Answer selected by muddg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants