Search Results for 'page template'

Results from the Forum
shae101s
Participant
#0

Hey guys, I like that this theme comes with a review template, so convenient. I’m wondering, if there are plans to add other features, like a pros/cons area or photos?

I have this plugin already: Reviewer Plugin but I see on the page it says it can be integrated into themes, maybe you guys could consider that, it’s a great plugin and works really nicely and gives loads of options for those of us who write frequent reviews. Here’s an example using that plugin on my site: Hubalou Review and also Mane Choice Review (both reviews are near bottom of post) and as you can see, it’s definitely fully compatible with NewsMag

lrajabi
tagDiv Member

OK SOLVED!!!! It took me hours…. literally two days of work to narrow this down. Basically there are two database entries that could be put into the WP_OPTIONS table that specifically relate to WordPress Bakery’s Visual Composer.

In my case the two database entries specifically set parameters for the Columns and Rows of WPB’s Visual Composer. Of course components of “Pages” built on this theme use the columns from the Visual Composer.

Deleting those two entries will fix the problem.

This is likely going to be rare for most, unless you are moving directly from Newspaper and had configured some Column and Row functions in the Visual Composer.

I found this by installing a fresh copy of WordPress onto the same NGINX system and comparing the database entries in the old and new instance.

I imported the old database tables into the new one to see which one broke it. Once the options table was imported that caused the rendering issues. Going through hundreds of lines, I found the two responsible.

Easy way to find them is search for an “Option Name” with %___% wild cards in phpmyadmin. Use this specific term “wpb”.

You may get several options listed in rows in the output. The ones with Column and/or Row specifically in the Option Name should be deleted.

Actually you “can” delete all related options but keep the “wpb_js_templates” option as that is common to both a fresh install and a legacy install.

Well, now rendering is fixed for pages and columns and rows work as expected! Yay.

PS: This has nothing to do with NGINX. I confirmed the exact same issue is present on both Apache 2.4.10 with MPM-Prefork and PHP-FPM.

lrajabi
tagDiv Member

OK SOLVED!!!! It took me hours…. literally two days of work to narrow this down. Basically there are two database entries that could be put into the WP_OPTIONS table that specifically relate to WordPress Bakery’s Visual Composer.

In my case the two database entries specifically set parameters for the Columns and Rows of WPB’s Visual Composer. Of course components of “Pages” built on this theme use the columns from the Visual Composer.

Deleting those two entries will fix the problem.

This is likely going to be rare for most, unless you are moving directly from Newspaper and had configured some Column and Row functions in the Visual Composer.

I found this by installing a fresh copy of WordPress onto the same NGINX system and comparing the database entries in the old and new instance.

I imported the old database tables into the new one to see which one broke it. Once the options table was imported that caused the rendering issues. Going through hundreds of lines, I found the two responsible.

Easy way to find them is search for an “Option Name” with %___% wild cards in phpmyadmin. Use this specific term “wpb”.

You may get several options listed in rows in the output. The ones with Column and/or Row specifically in the Option Name should be deleted.

Actually you “can” delete all related options but keep the “wpb_js_templates” option as that is common to both a fresh install and a legacy install.

Well, now rendering is fixed for pages and columns and rows work as expected! Yay.

PS: This has nothing to do with NGINX. I confirmed the exact same issue is present on both Apache 2.4.10 with MPM-Prefork and PHP-FPM.

vj1023
Participant
#0

Hey , I purchased the NEWS MAG theme , it works great.
Just while Setting up , i m a complete non-techie guy and thus came across few queries , I M ON A URGENT NEED FOR THESE TO BE SOLVED , hence posting these together. i m priority wise posting my doubts below the UNIQUE POST & SMART-LISTS are the top to be solved ,Please help me out.

1. On my homepage , i have several blocks!
I have a BIG GRID >> all categories , which is sorting posts according to LATEST POSTS.
below that i have several BLOCKs which are displaying single category according to LATEST POSTs.
Now whenever i publish a post , it appears twice on the screen , once in the GRID and other in the catagory BLOCK.

check the screenshot : how to enable unique posts?
How do i enable unique post option in news mag , so i don’t have redundant posts on my homepage.

_____________________________________________________________________________________________________________

2.For some reason, Even i m unable to make Smart Lists, Read and Followed the documentation , but the alignment of the smart lists is not coming proper , It would be great if i could see a small video tutorial on your YOUTUBE CHANNEL on how to create SMART LISTS. Thank you.

______________________________________________________________________________________________________________

3.I had seen in the template feature list that the theme has SEO support, How does SEO work, consider i have a post whose article is “15 THINGS TO DO IN A CAFE” , so how do i make sure that the user on Google search for “WHAT TO DO IN CAFE , CAFE , BORED..”
____________________________________________________________________________________________________________

4 While using Visual Composer ,whenever I insert a ROW and in row layouts i use the dividing it in two equal columns , the the border of the separator is extending till the bottom of the page. I tried the no border thing in row settings , but din work out for me.

See this screenshot : the border error

_____________________________________________________________________________________________________________

5 Unable to Update it the theme , error comes UPDATE FAILED.

See this screenshot : ERROR UPDATING IMAGE
____________________________________________________________________________________________________________

6 The contributors on my website are unable to upload media images , can i know how can i change and add the functionality through WORDPRESS of my contributors too should be able to upload media.

___________________________________________________________________________________________________________

THANK YOU.

g00dnews
tagDiv Member

Interesting. Was that always there or added recently?

We recently updated and I can see that code in the template.

This is one page where it was happening but I have caching enabled at the moment so it’s not going to be easy to see: http://www.goodnewsnetwork.org/one-good-deed-spread-40-tables-vermont-diner/

Lucian
tagDiv Staff

Hi,

Unfortunately you can’t customize the attachment template using the page builder but you could edit the attachment template file (attachment.php) and customize your attachment page as you like.
For ex. I have used the do_shortcode() to add an gallery to the page, like this: http://screencast.com/t/RjuYUQIfLm3
This is the code I have used: <?php echo do_shortcode('add your shortcode here') ?>
You can also add css into the custom css filed in theme panel and use the .attachment class to target the attachment template.
Hope this helps!

Thanks

  • This reply was modified 11 years by Lucian.
Lucian
tagDiv Staff

Hi,

The theme’s blocks are designed and work better when using this page layouts: http://screencast.com/t/b6t7GCMG0W so please make sure that you set one of those layout for your page then also use the full width template(without sidebar) for a better view: http://screencast.com/t/OQzWeKCf
Other layout can also be used but not all blocks would behave well when using them and you would need additional styling to make them fit well on page.
Hope this helps!

Thanks

Pasquale
Participant
#0

I have a problem about to add the social button in category template.

Must be enter the following code:
<?php if(function_exists(‘social_ring_show’)){ social_ring_show();} ?>

The system should display the social button for each article list (after little description preview) in the category page.

The same modify must be applied for the page template.

Where I can paste this code?

Thanks in advance

Bayu
Participant
#0

Hi bro,

I want to know, how to create attachment page like this in Newsmag theme? http://imageshack.com/a/img903/3718/PQqseb.png

Previously, I’ve been using the Morning wpzoom theme and I could make the attachment page manually in Stylesheet (style.css) and Image Attachment Template (image.php). Sorry my English is not good … hehehehe

Thanks…

Lucian
tagDiv Staff

Hi,

You can only add infinite scroll pagination to blocks so if you want infinite scroll on your home you have to use a homepage template without latest articles section and add a block with infinite scroll pagination. Here you have an example: http://demo.tagdiv.com/newspaper/homepage-infinite-scroll/

Thanks

Solari
tagDiv Member

…and changed files:

Newsmag theme
Here is a list of all the changes between v 1.2 and v 1.3
Modified files – 44 files
• footer.php
• functions.php
• includes\less_files\comments.less
• includes\less_files\header.less
• includes\less_files\pagebuilder\modules\module_14.less
• includes\less_files\pagebuilder\modules\module_mx3.less
• includes\less_files\pagebuilder\modules\td-slide.less
• includes\less_files\post-templates.less
• includes\less_files\post.less
• includes\less_files\retina.less
• includes\less_files\woocommerce.less
• includes\modules\td_module_14.php
• includes\modules\td_module_8.php
• includes\modules\td_module_mega_menu.php
• includes\modules\td_module_mx1.php
• includes\modules\td_module_related_posts.php
• includes\modules\td_module_single.php
• includes\modules\td_module_slide.php
• includes\plugins\revslider.zip
• includes\plugins\td-social-counter.zip
• includes\td_config.php
• includes\td_css_generator.php
• includes\wp_booster\td_fonts.php
• includes\wp_booster\td_global.php
• includes\wp_booster\td_module.php
• includes\wp_booster\td_page_generator.php
• includes\wp_booster\td_review.php
• includes\wp_booster\td_translate.php
• includes\wp_booster\td_util.php
• includes\wp_booster\td_wp_booster_functions.php
• includes\wp_booster\wp-admin\content-metaboxes\td_set_homepage_loop.php
• includes\wp_booster\wp-admin\content-metaboxes\td_set_post_settings.php
• includes\wp_booster\wp-admin\content-metaboxes\td_set_reviews.php
• includes\wp_booster\wp-admin\content-metaboxes\td_set_smart_list.php
• includes\wp_booster\wp-admin\panel\ajax_views\td_category.php
• includes\wp_booster\wp-admin\panel\td_panel_generator.php
• includes\wp_booster\wp-admin\panel\td_view_import_theme_styles.php
• includes\wp_booster\wp-admin\panel\views\panel_block_settings.php
• includes\wp_booster\wp-admin\panel\views\panel_excerpts.php
• includes\wp_booster\wp-admin\panel\views\panel_post_settings.php
• includes\wp_booster\wp-admin\panel\views\panel_template_settings.php
• includes\wp_booster\wp-admin\panel\views\panel_theme_fonts.php
• loop.php
• style.css
New files – 9 files
• includes\panel\views\ajax_views\td_theme_fonts.php
• includes\panel\views\panel_theme_colors.php
• includes\stacks\classic_blog.txt
• includes\stacks\fashion.txt
• includes\stacks\sport.txt
• includes\stacks\tech.txt
• includes\stacks\video.txt
• includes\wp_booster\wp-admin\panel\td_panel.php
• includes\wp_booster\wp-admin\panel\td_view_panel.php
Deleted files – 32 files
• images\icons\social\sprite\style1-16.png
• images\icons\social\sprite\style1-16@2x.png
• images\icons\social\sprite\style1-32.png
• images\icons\social\sprite\style1-32@2x.png
• images\icons\social\sprite\style1-64.png
• images\icons\social\sprite\style1-64@2x.png
• images\icons\social\sprite\style2-16.png
• images\icons\social\sprite\style2-16@2x.png
• images\icons\social\sprite\style2-32.png
• images\icons\social\sprite\style2-32@2x.png
• images\icons\social\sprite\style2-64.png
• images\icons\social\sprite\style2-64@2x.png
• images\icons\social\sprite\style3-16.png
• images\icons\social\sprite\style3-16@2x.png
• images\icons\social\sprite\style3-32.png
• images\icons\social\sprite\style3-32@2x.png
• images\icons\social\sprite\style3-64.png
• images\icons\social\sprite\style3-64@2x.png
• images\icons\social\sprite\style4-16.png
• images\icons\social\sprite\style4-16@2x.png
• images\icons\social\sprite\style4-32.png
• images\icons\social\sprite\style4-32@2x.png
• images\icons\social\sprite\style4-64.png
• images\icons\social\sprite\style4-64@2x.png
• includes\stacks\demo_classic_blog.txt
• includes\stacks\demo_fashion.txt
• includes\stacks\demo_sport.txt
• includes\stacks\demo_tech.txt
• includes\stacks\demo_video.txt
• includes\wp_booster\wp-admin\panel\td_panel_start.php
• includes\wp_booster\wp-admin\panel\td_view.php
• includes\wp_booster\wp-admin\panel\td_view_import_category.php
by tagDiv 2014 🙂 | http://tagdiv.com | Our portfolio

Larane
Participant
#0

Hi,

I have a problem with my category page. It might be a bug. When I display the big grid on the category template every menu item shows up. Even the one I didn’t publish in the main menu.

I found a thread with a similar problem but I couldn’t find a solution:

https://forum.tagdiv.com/topic/all-category-name-being-displayed/

You can see the problem here: http://www.stylezebra.de/category/vorher-nachher/

I am using W3 Total cache but only enabled the page cache (no minify etc.).

Team tagdiv, do you have an advice for my problem?

Thank you,
Carolin

Lucian
tagDiv Staff

Hi,

Unfortunately the category page template can use only one style layout for posts. Not sure if this helps but you can use the page-builder and and add pages with blocks to load your posts and set the block at the bottom to us the load more pagination or infinite scroll to load more posts.
Hope this helps!

Thanks

Emil G
tagDiv Staff

Hi,

You can add them on the template like this – http://screencast.com/t/PyZXERXAt3v

echo td_page_generator::get_page_breadcrumbs(get_the_title());

Thank you, Emil G.

Lucian
tagDiv Staff

Hi,

Unfortunately the related posts function can be used just on posts page template.
You could use the shortcode function though and build a block with visual composer then switch to classic mode then add it to the template using the same method like for the custom ads above:

You can more info related what you would have to do it here: https://forum.tagdiv.com/topic/a-few-questions/
Hope this helps!

Thanks

Lucian
tagDiv Staff

Hi Christopher,

1. Please note that we know about this matter and we have it on our todo list as a bug and we will try to fix it as soon as possible.
You could use the offset feature for the ticker and set it as the first x posts not to be included in the ticker and appear on slides/blocks.. until we fix this.

2. Yes, you can but only if you add it in the template as using shortcodes as you wrote and edit the post template file. I have posted about this on this tread: https://forum.tagdiv.com/topic/a-few-questions/
You could also try to enable VC on post pages and add the ticker via pagebuilder on posts that you want it on.

Hope this helps, please let me know!

Thanks

Vishal
Participant
#0

Hi,

I am facing an issue with implementing/installing the Newsmag template on my website. It gives me the following error: td_page_builder_widgets.php when I activate the theme/template after uploading theme/template files onto the wordpress platform for my website.

Please look into this issue & advise.

Thanks
Vishal

shoutershub
tagDiv Member

bro please i dont no if u culd really help me out here on this one, the page navi system aitn working, had disabled the wp page navi wordpress plugin thinking that was the problem which latter turned out not to be….. if u check my blog shoutershub.com …… just look below u wuld see the page navigation system, try clicking it and u wuld notice its redirecting me back to the hope page….. i used a static pageas my hope page ….. however when i as making my setups @ the customization pan i saw a space that asked me to choose latest post page which i didnt select any….. am thinking if i make a work around and edit the code of the present page navi of this theme and insert wp page navi wordpress plugin shortcodes, …… lastly when i was settup my page i used the pagebuilder+Latest+Pagintaion as the template …. but am so so unhappy with this isshu.

Waiting for ur reply…

Mind my vocabulary errors

simchris
Participant
#0

Hi, folks
okay… my turn for couple of help topics

1) is there a way through hack/slash/chop/spindle or other method to set the trending ticker on home page to *not* de-dupe other stories on front page. Issue is that with a “new” item, if we want to feature that with image, if it’s most popular and appears in ticker, it doesn’t appear in latest/featured elements on page, and may be missed.

2) is there a way to set the ticker to run on all the post pages? Presumably I could add the ticker module element sitewide or with shortcode to the appropriate template being used … (e.g., “style 3”) ?

Thanks for any feedback. 🙂

Chris

Lucian
tagDiv Staff

Hi,

You can set the post to the post template 1 then use this custom css to hide the featured image on post page using this css: http://screencast.com/t/QipVGOP52

.single_template_1 .td-post-featured-image {
display: none;
}

Thanks

Lucian
tagDiv Staff

Hi,

You can generate a shortcode using the page builder on a page, add the widget you want and customize it as you like, then switch to classic mode and get the shortcode you have in the post editor and add it into the function and place it into the template. You also have some screenshots below so that you can better understand this:

* http://screencast.com/t/XenIUYOL
* http://screencast.com/t/sZV4uZnF9P4r
* http://screencast.com/t/g1FeHElhnUBL
* http://screencast.com/t/ga0UXi4YD5r

Thanks

Lucian
tagDiv Staff

Hi,

Thanks Christopher unfortunately you are right, as changing the content’s width would break the layout so it is not recommended so the only way to have a wide ad there is to set the page to full width, without sidebar or edit the post template files and add it directly there using the do_shortcode function and the shortcode for the ad box.
I will also add this on our feature request list and consider it for future updates.

Thanks

wpdiv
Participant
#0

Hello team tagdiv

Yesterday i have mailed you some clarifications, but no reply yet.

I have setup our theme in http://div.wpdiv.com and i experience some difficulties and clarifications in it.

1. take a look on the wordpress themes megamenu in home page. Under wordpress themes category there are 10+ subcategories. But it shows only 5 categories in megamenu navigation. How can i show them all?

2. I am using content inline ads in my ad section. But it looks awkward in some of the posts like this http://div.wpdiv.com/best-one-page-websites-landing-page-psd-templates/

How can i disable post specific ads like this scenario?

Expecting your help

With regards

simchris
tagDiv Member
theme - reply

You need to setup your home page the way you want, as found in the theme documentation here: https://forum.tagdiv.com/installing-the-demo-data/

You don’t need to install the demo content; simply choose to “import a pre-defined” style at bottom of the theme admin panel such as “sports” or “fashion.”

Or, go to create a new “page” and then choose a layout style as found here:
https://forum.tagdiv.com/page-templates-newsmag/

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
eox
tagDiv Member

I solved this problem. If someone helps do this:

In style.css change Post template 4 code with:

/* ----------------------------------------------------------------------------
Template 4
*/
.td-post-template-4 header {
position: absolute;
bottom: 0px;
}
.td-post-template-4 header .entry-title,
.td-post-template-4 header .td-post-sub-title,
.td-post-template-4 header .meta-info,
.td-post-template-4 header .entry-date,
.td-post-template-4 header .td-post-author-name a,
.td-post-template-4 header .td-post-comments a {
color: #ffffff;
}
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29px;
margin-top: 7px;
margin-bottom: 5px;
position: relative;
right: 2px;
/* responsive portrait tablet */
/* responsive portrait phone */
}
@media (min-width: 768px) and (max-width: 1023px) {
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29;
}
}
@media (max-width: 767px) {
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29px;
right: 0px;
}
}
.td-post-template-4 .meta-info {
margin-bottom: 16px;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .meta-info {
margin-bottom: 10px;
}
}
.td-post-template-4 .entry-thumb {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3) inset;
transition: box-shadow 0.2s ease-in-out 0s;
padding-bottom: 0px;
margin-bottom: 0px;
}
.td-post-template-4 .entry-crumbs {
top: 0px;
padding: 15px 0px 15px 0px;
}
.td-post-template-4 .td-post-header {
width:680px;
padding-top: 0px;
border-bottom: 0px;
}
.td-post-template-4 .td-post-sharing-top {
border-top: 0px;
border-bottom: 1px solid #e6e6e6;
}
.td-post-template-4 .td-post-featured-image {
min-height: 200px;
background-color: #444444;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-featured-image {
min-height: 182px;
}
}
.td-post-template-4 .td-post-featured-image .wp-caption-text {
bottom: 0;
color: #FFFFFF;
position: absolute;
right: 0;
margin-right: 20px;
max-width: 400px;
height: 17px;
overflow: hidden;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-featured-image .wp-caption-text {
display: none;
}
}
.td-post-template-4 .td-post-content {
border-top: none;
margin-top: 0px;
padding-top: 14px;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-content {
padding-top: 10px;
}
}
.td-post-template-4 .td-post-sub-title {
font-size: 16px;
line-height: 26px;
border: 0px;
padding: 0px;
}

In single_template_4.php delete all and paste this:


<?php
// Template 4 - post-final-4.psd - full image + overlay full title
//get the global sidebar position from single.php
global $loop_sidebar_position;

$td_mod_single = new td_module_single($post);

?>
<article id="post-<?php echo $td_mod_single->post->ID;?>" class="<?php echo join(' ', get_post_class('td-post-template-4'));?>" <?php echo $td_mod_single->get_item_scope();?>>

<div class="td-container">
<div class="td-container-border">
<div class="td-pb-row">

<?php

//the default template
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<div class="td-post-header td-container">
<div class="td-entry-crumbs td-pb-padding-side"><?php echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); ?></div>
<div class="td-post-featured-image td-image-gradient">
<?php echo $td_mod_single->get_image('td_1021x580'); ?>

<header class="td-pb-padding-side">
<?php echo $td_mod_single->get_category(); ?>
<?php echo $td_mod_single->get_title();?>

<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle'];?></p>
<?php } ?>

<div class="meta-info">

<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
</div>
</div>

<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WPSideBar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;

case 'sidebar_left':
?>
<div class="td-pb-span4 td-main-sidebar" role="complementary" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WPSideBar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<div class="td-pb-span8 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<?php
break;

case 'no_sidebar':
//td_global::$load_featured_img_from_template = 'art-slide-big';
td_global::$load_featured_img_from_template = 'full';
?>
<div class="td-pb-span12 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<?php
break;

}
?>
</div> <!-- /.td-pb-row -->
</div>
</div> <!-- /.td-container -->
</article> <!-- /.post -->

Now, go to the Theme panel in Post Settings activate Post style 4.

Good luck 🙂

Viewing 25 results - 17,876 through 17,900 (of 18,570 total)