Sorry i can’t active td-speed-booster plugin in my site because it’s makes this problem < you can try it on Arabic WordPress version or any other RTL WordPress version >
No my Friend Radu , I love your theme , and there is no problem with your theme ,
all the story is :
the DW Question & Answer Plugin , for Q & S , I want Style integration with your theme to show sidebar of the Newspaper theme .
the instructions of told :
Step 2 Edit Content Wrapper files
Open up the landing page file of your theme (normally it’s page.php file in themes/[theme-name] folder) in notepad or any code editor, you can see this as a content wrapper of the webpage.
<header class="page-header">
<h1 class="page-title"><?php the_title(); ?></h1>
</header>
<div class="container-fluid">
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'dw-simplex' ) . '</span>', 'after' => '</div>' ) ); ?>
</div>
</div>
Now, based on the content wrapper of the theme, let’s add some code to our content-start-wrapper.php file, for example here:
<?php if( is_page() ) { ?>
<header class="page-header">
<h1 class="page-title"><?php _e( 'Question & Answer', 'dw-simplex' ); ?></h1>
</header>
<?php } ?>
<div class="container-fluid">
<div class="entry-content">
so i want your advice for good Style_integration on your theme <
I don’t want my money back , I love your theme , thank you Radu
iha
So i need sidebar on that page too !!!
Can you help please ?
Ok RaduA , I Know what i did , so for others , the code in single.php
like
http://prntscr.com/3etgkb
so all it solved thank you RaduA , and sorry of wasted your Time .
the issue is closed here ,
Thank You ^_^
use this plugin Iconic Navigation for WordPress :
you can select the width :
but this not officially help , i hope the best for this theme ^_^
i need to
modify the code in the single.php file to make the same on single post,
where do i put/add this on single.php file ?
<?php if($deviceType == 'computer') {?>
<div class="span4 column_container">
<?php get_sidebar(); ?>
</div>
<?php }?>
and
<?php if($deviceType == 'phone') {?>
<div class="span4 column_container">
<?php get_sidebar(); ?>
</div>
<?php }?>
please teach me that on single.php thank you RaduA ^_^
IHA
Sorry Radu A , it did not work for me ,
but after that i’m searching for solution on Google i found to :
1) put Mobile_Detect.php file on the …
/wp-content/themes/Newspaper/
include 'Mobile_Detect.php';
$detect = new Mobile_Detect;
$deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer');
then no problem on functions.php or error .
its after that work fine >
so because you are the best how can tell me , is it right or wrong ?
I thank you very much for your perfect help and i’m sorry for annoying ^_^
IHA
hi,
i did all the steps but :
leaded to :
please help < ^_^
Hi Marius,
But all problems begun when i change sidebar Theme panel to be on left , I need sidebar to be in left position and the post is on top or first to show at mobile view > so please is there any help ?
thank you for reply,
i did what you told me :
then the sidebar goes down
i need the change not for categories only but also for single posts
so please help me ^_^
thank you for reply,
i did what you told me :
then the sidebar goes down
http://prntscr.com/3czsoz
i need the change not for categories only but also for single posts
so please help me ^_^
