-
AuthorPosts
-
December 2, 2017 at 4:05 am #884039
Hi there,
Writing regarding Yigit’s earlier solution detailed here: #138502
We tried to do the same. It was in part successful: we got rid of the sidebar and the page is now full-width.
However, we now see this code at the top of the page, just below the header:av-blog-meta-author-disabled av-blog-meta-comments-disabled av-blog-meta-category-disabled av-blog-meta-date-disabled av-blog-meta-html-info-disabled av-blog-meta-tag-disabled’ role=”main” itemprop=”mainContentOfPage” >
We noticed that in fact the php in the current, unedited single.php file is slightly different from the one in Yigit’s post. So perhaps we need some small modification?
- This topic was modified 6 years, 11 months ago by Victoria.
December 5, 2017 at 11:06 pm #885247Hey rpl_admin,
It seems that you are missing something – at start that is why there is the code empty.
What I can imagine something like
<div class="
If you added it, it would save the issue
Best regards,
Basilis- This reply was modified 6 years, 11 months ago by Victoria.
December 6, 2017 at 2:13 am #885326Hi there,
Thanks for the reply but there seems to be some bug in your message. Could you please resend?Many thanks
RobertDecember 6, 2017 at 12:19 pm #885534Hi!
I edited the message above, you can see the code now.
If you need further assistance please let us know.
Regards,
VictoriaDecember 7, 2017 at 1:54 am #885871Hi Basillis, Victoria,
Many thanks but still can’t see where the problem is. This is the code that we now have, also we are seeing the date and the author of the post below the title even though we have both of those disabled.
<div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<div class=’container template-blog template-single-blog ‘>
<main class=’content units twelve’> <?php echo avia_blog_class_string(); ?>’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*
*/get_template_part( ‘includes/loop’, ‘index’ );
//show related posts based on tags if there are any
get_template_part( ‘includes/related-posts’);//wordpress function that loads the comments template “comments.php”
comments_template();?>
<!–end content–>
</main></div><!–end container–>
</div><!– close default .container_wrap element –>
December 7, 2017 at 3:41 pm #886123Hi,
Could you please post a link to the thread where you found my solution?
Also, please post FTP and WP admin logins here privately so we can look into it.Best regards,
YigitDecember 8, 2017 at 2:01 am #886325Hi Yigit,
Many thanks for your reply and offering to take a look.Here’s the thread:
https://kriesi.at/support/topic/in-single-php-how-to-remove-the-sidebar-and-changing-it-to-fullwidth/?login_errorOther requested details below.
Best regards,
Robert
December 8, 2017 at 11:17 am #886419December 8, 2017 at 1:35 pm #886483Hi Victoria,
Well, that was easy!!
Please let Yigit know.
Many, many thanks!
Robert
December 9, 2017 at 2:43 pm #886839Hi Robert,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.