Hi i am using your Newsmag theme
i am using a article template now if i want to add a widget i.e. a block of the theme after the share box below the article
so how can i achieve this ?
basically i want a block available from the theme (which i can put into sidebar through widget) to be visible between the share box below the article and related/more from author article.
Hi
Please provide more details about the post template used for posts and also a link where I can inspect this so I can duplicate the situation and get back to you with an exact answer.
Note that blocks weren’t designed to be displayed in posts so there is a chance to appear some issues with this layout.
Thanks!
in the Newsmag theme there is a widget called [tagDiv] Block 7 which shows the articles in the list manner somewhat like this : http://www.screencast.com/t/sWa8dz7yGP0 i want get this widget into article template
that is i am using loop-single-2.php i.e. the template style 2
so below the article content i need to show this even with the options of sorting it with any specific category , 7 days sorting , etc like i have options while using this as a option.
Hi
You can use do_shortcode function in loop-single-2.php like here:
<?php echo do_shortcode('block's shortcode'); ?>
To get the shortcode add the block 7 into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/ij9Sbajz inside do_shortcode function.
Also you will need this code in theme panel > custom code > custom css: http://screencast.com/t/H9G6Yoeocg
.single .td-pb-row .td-pb-row .td-pb-span8{
width: 100%;
}
Hope this help!
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi Andrei L.
i have asked this question to you long back and you gave me the solution for it too .
however i found that the wordpress default comment box is not clickable now .
just check this out ASAP .
http://www.koimoi.com/bollywood-news/check-out-akshay-kumars-first-look-from-2-0/
can you pls give any solution for this .
Hi
Try this css in theme panel > custom css: http://screencast.com/t/4IfnZqMAhZcw
.comments{
position: relative;
}
Thanks!