If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
March 3, 2011 at 2:15 am #3270
I am trying to hide the sidebar and to have a full with page in the category page
I want my articles to be showed up something like this:
also if somebody has any idea how to make the posts to show up as grid I will be very happyMarch 4, 2011 at 8:24 am #41442
open up archive.php and replace following code:
$k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
// $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar
// $k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
$k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar
Afterwards search for following code line:
and delete it.
I can’t help you with the grid view modification because it’s a customization and beyond the scope of this support forum.April 29, 2011 at 12:00 am #41443
I Want to hide the Sidebar on my index-page.
I already tried the code that you posted but the content is still an the right side and not fullsized.
My second question: Can i use the start-page like a normal page so that i have the slide bur then the firt article in its full lenght?
SvenApril 29, 2011 at 5:14 am #41444
Which theme are you using? Newscast? I just want to make sure that we give you the right instructions.April 29, 2011 at 9:41 am #41445
Yes i am using newscast.
the sidebar is hidden, but the article is not fullwidth.
thank youApril 29, 2011 at 7:32 pm #41448
In index.php replace:
<?php get_header(); ?>
$k_option['custom']['bodyclass'] = "fullwidth"; //$k_option['custom']['bodyclass'] = "";
?>April 29, 2011 at 10:21 pm #41449
Thank you now i have it fullwidth, how can i show the complete article on top, only the first one?April 30, 2011 at 6:13 am #41450
In index.php replace:
$additional_loop = new WP_Query("cat=".$negative_cats."&paged=$paged");
$additional_loop = new WP_Query( 'page_id=91' );
and change the page id. Then replace:
<?php the_excerpt() ?>
<?php the_content() ?>May 1, 2011 at 8:24 pm #41451
Now i have only 1 article in the slider, but i wanted the first article on the index to be shown complete.May 1, 2011 at 8:35 pm #41452May 1, 2011 at 8:49 pm #41453May 2, 2011 at 4:49 am #41454May 2, 2011 at 3:37 pm #41455
http://hkult.syndikath.de/?page_id=788 can you tell what is the problem here? The sidebar is showing up in top left corner.
i fixed that in the impressum-page, but it doesn’t work here.May 2, 2011 at 3:49 pm #41456
It seems like header.php is missing or causes an error. Try to reupload the original header.php. If that doesn’t help please upload all original php files from trhe main content folder (index.php, header.php, etc.).May 2, 2011 at 5:56 pm #41457
i replaced the Header.php but nothing happened. I try some things an d hope i will get it, on the impressum it worked so ill have to get it done here tooMay 2, 2011 at 7:54 pm #41458
i solved the problem in the settings of the page! but thank you for your helf, the support is the best i ever had!May 2, 2011 at 8:52 pm #41459May 3, 2011 at 10:09 am #41460
The topic ‘hide sidebar in Category’ is closed to new replies.