Home User profile
iha
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
iha
tagDiv Member

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 >

iha
tagDiv Member

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

iha
tagDiv Member

So i need sidebar on that page too !!!
Can you help please ?

iha
tagDiv Member

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 ^_^

iha
tagDiv Member

use this plugin Iconic Navigation for WordPress :

you can select the width :

http://prntscr.com/3ejlqp

but this not officially help , i hope the best for this theme ^_^

iha
tagDiv Member

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

iha
tagDiv Member

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/

2) http://prntscr.com/3ej3ra

 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

iha
tagDiv Member

hi,
i did all the steps but :

http://prntscr.com/3eadnz

leaded to :

http://prntscr.com/3eady8

please help < ^_^

iha
tagDiv Member

hi,
i do all the steps but :
http://prntscr.com/3eadnz

lead to :

http://prntscr.com/3eady8

please help < ^_^

iha
tagDiv Member

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 ?

iha
tagDiv Member

thank you for reply,

i did what you told me :

http://prntscr.com/3czraj

http://prntscr.com/3czsbu

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 ^_^

iha
tagDiv Member

thank you for reply,

i did what you told me :

http://prntscr.com/3czraj

http://prntscr.com/3czsbu

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 ^_^

Viewing 12 posts - 26 through 37 (of 37 total)