Search Results for 'page template'

Results from the Forum
Alin [tagDiv]
tagDiv Staff

Hi,

If you don’t want Latest articles on your page just set the default page templatehttp://screencast.com/t/Lxh8h9ohux7M
Please check documentation – https://forum.tagdiv.com/page-templates-2/

Thanks!

cjm1982
Participant
#0

Hi, I’ve just set up Newspaper theme on a staging site, everything seems to be working fine apart from Visual Composer for the homepage. The Visual Composer is available from the back end and I’ve started off with the existing default template, but when I publish there is nothing showing in the content area on the homepage – there is just a blank space between the header and footer? Is there something obvious I am missing to enable it to display?

The staging site is password protected, so if you need to see it can I send you the URL privately?

Sayeed
Participant
#0

Hi…

For video post I am using style 11 template : http://bit.ly/1GO5may — As you can see in the post page I have only added the subtitle as the content and I left the content section empty… What I am trying to do is to have subtitle as the main content of the post.

I would like to know that how it will effect the site SEO? and why in search result in meta description it shows the Post Title first and then it shows the meta description : http://imgur.com/VH1mLrE

I would like to know how can fix it? and is it possible to fix it or not?

What I would like to achieve is to have subtitle as the main content only for the video post 11 style template.

Apart from that… why do i see post title in the meta description? when i search any of my post in google search. : http://imgur.com/VH1mLrE and i feel that it’s a really issue.

Thanks!

Bryson T
Participant
#0

Searched the forums but found nothing about this.

I’ve been using it without problems forever now, but today when I went to add our new Instagram account to it (username only, public account, plugin v3.0) the plugin started throwing fatal errors. I have errors suppressed but here are the error log entries for a single page load…

[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP Catchable fatal error:  Object of class stdClass could not be converted to string in /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 131, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP Stack trace:, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   1. {main}() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/index.php:0, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   2. require() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/index.php:17, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   3. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-blog-header.php:16, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   4. include() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template-loader.php:75, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   5. get_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/single_template_8.php:60, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   6. locate_template() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/general-template.php:125, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   7. load_template() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template.php:514, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   8. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template.php:555, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP   9. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/sidebar.php:7, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  10. td_util::show_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/sidebar.php:91, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  11. dynamic_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php:223, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  12. call_user_func_array:{/home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319}() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  13. WP_Widget->display_callback() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  14. td_block_widget->widget() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:344, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  15. td_block_social_counter->render() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block_widget.php:43, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  16. td_block->render() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php:13, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP  17. implode() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php:131, referer: http://insidethestar.com/

I’ve been using Twitter, Facebook, SoundCloud, and Google+ in the counter widget. I don’t use it in VC. Adding the IG account is what threw the error. Haven’t been able to get the counter (at all) or anything down the document to load for any page where it’s supposed to show up since.

I tried deleting the plugin and installing fresh from the 6.5.1 release of Newspaper, no joy. Not sure what else to do here but report the bug. Made changes to the accounts used (flirted with not showing the SoundCloud profile) about a month ago with everything up to date (WP, VC, Counter, Newspaper, etc.). The only thing that has changed in that time is that I now run on PHP v5.6 instead of v5.5. First issue I’ve had with it since Feb 2014.

No clue what to try next and not making much of the error log to tell me what to fix.

Thanks.

Sayeed
Participant
#0

1. For style 11 (Video) template for post. I am not adding any content in the content section. Instead I am using subtitle area for the content. I would like to know that will it affect seo? If yes… then is it possible to make changes in code so that good will take subtitle as the content of the site?

2. How can I remove the bottom social share buttons only for STYLE 11 Video template for post?

3. Is it possible to choose different block for mobile screen and desktop on homepage.?

4.

jerocarson
tagDiv Member

Hi,

“I looked over the code that you provided and works fine. If you’re using page template default as the page template for the homepage: http://screencast.com/t/WelReLqatY the sidebar should appear only once.”

This is exactly what I did, but the sidebar is still appearing twice, the widgetized sidebar and newmag default sidebar.

I intend going live tonight, I am familiar with Visual composer as I used it in my previous theme, but I am just stuck, this is the last thing I need to fix..

Please where can I send you a temporal admin login so you can fix it, then I pick it up from there.

Best..

Alin [tagDiv]
tagDiv Staff

Hi,

You use Pagebuilder with latest articles template and that section is Latest Articles – http://screencast.com/t/fvWBdmEddBpQ You can control them from Post Loop Settings, changing the module to display them or other options – http://screencast.com/t/m6UT7PNhl
If you don’t want Latest Articles on your page, just change the page template to Default – http://screencast.com/t/GYOisjhkmr

Thanks!

Bogdan B.
tagDiv Staff

Hello,
If the blog page is what you are referring to, you can set it to a static page like so: http://screencast.com/t/L0wAJX1oNub You can edit that page to display a block and filter it to show latest posts or simply select the page template that contains the latest article: http://screencast.com/t/QmSjPjLBnNrl
If this is not what you mean, please provide more details so i can understand your request better.
Thank you!

Andrei L.
tagDiv Member

Hi

I looked over the code that you provided and works fine. If you’re using page template default as the page template for the homepage: http://screencast.com/t/WelReLqatY the sidebar should appear only once.
The same sidebar appear twice on the same page if it’s used in a widgetzed sidebar block first, then also it’s used in latest article section, if the page template is pagebuilder + latest: http://screencast.com/t/byqXLRHRs3
The editor was designed to have the same width with the post content on front-end. If your’re using sidebar the post content have 640px, so the editor have the same width. If you’re not using sidebar the post content have 980px and also the editor change width’s changes at this value. Basically the editor simulate the front end layout. You can make the editor full width by removing this code from editor-style.less file: http://screencast.com/t/Vef9ReyLvsC2http://screencast.com/t/Ko7LseFc2fw6

Hope this help.
Thanks!

jerocarson
tagDiv Member

Hi, I am lit bit more confused, I couldn’t get much from the image..

I am using the default template on the page, its actually the homepage I am creating.

Is there a place I could send you a temporal admin login details?

Thanks

Andrei L.
tagDiv Member

Hi

Note that the sidebar added within the widgetized sidebar block applies only for the section built with Visual Composer pagebuilder. If you’re using pagebuilder + latest as page template, for latest article section will be set another sidebar from loop settings: http://screencast.com/t/UUaXCvUjZj2L
The default sidebar can’t be used only for the part of the page generated by VC, the rest of the page will use the default sidebar or other one, depending by users settings.
If this does not help please provide a screen of your layout from Visual Composer or the entire code from bacakend mode via http://pastebin.com/ so I can inspect it closer.

Thanks!

Bogdan B.
tagDiv Staff

Hello,

You can hide latest article by selecting a different page template: http://screencast.com/t/gf9ofIrFRfeX
The latest articles module is only present in one of three page templates. It is not a standard block you can see in the back-end or edit.
I hope this helps

Thanks.

Bogdan B.
tagDiv Staff

Hello,

I ran a few more tests on this issue and it seems that this is the default behavior of the element. It is not just at your end. When the page containing it is set as the homepage, the alignment gets set to middle. So only on the homepage will the title be centered.
You can overwrite this alignment if you want by using this custom css:
.home .td-post-template-8 .td-post-header-holder{
vertical-align:bottom!important;
}

Just place the code in the theme panel-custom CSS box: http://screencast.com/t/WV5lXQXPRmn4

Thank you!

Alin [tagDiv]
tagDiv Staff

Hi,

The featured image used on post template 8 is streched using javascript code and it wont display the caption.
You need some customization to have also the caption, so please edit single_template_8.php file and add this code – http://screencast.com/t/gDleyLTVphttp://pastebin.com/hYQyNHVG
The caption should appear now on you post page, but you need to customize it. I provide also a css to be more visible, but you can change it like you wish – http://screencast.com/t/4JimeNqF0U

.td-feat-image-caption {
color: #ffffff;
margin-top: 10px;
margin-left: -5px;
padding: 10px;
background-color: rgba(34, 34, 34, 0.55);
}

Thanks!

Andrei L.
tagDiv Member

Hi

That space appear because you’re using page builder + titles as page template and your page doesn’t have a tile. You can change the post template from Visual Composer pagebuilder: http://screencast.com/t/a1z0BO89l

Thanks!

MM-Berlin
tagDiv Member

Many thanks Bogdan,
just have a further question. If i set a new default page (as”default template”) and add the VC feature “VC Homepage post” the´s works as well great, but one small issue: The page title is in the middle of the image, not on the bottom like normal post pages.

So what can i do to solve this issue.
Many thanks again for helping,
Manfred

jhulsbrain
Participant
#0

Hi,

Instead of CATEGORY FORM LAYOUT from the theme (this link), i use a PAGE TEMPLATE created using the page creator (this link).

My reason is that, i am working my SILO STRUCTURE. I have a page (same slug) with the CATEGORY.

My issue is I can’t have the TITLE and BREAD CRUMBS same as the default category format. However, if i use a PAGE CLASSIC format – i have both the TITLE of the PAGE as well as the bread crumbs. (see this link).

Thanks…

Jhuls

Alin [tagDiv]
tagDiv Staff

Hi,

1. The theme doens’t have an option to place ads in galleries or blocks content, you will need custom modifications and it is not an easy task. Unfortunately the time doesn’t allow us to provide custom work, sorry!
2. Please provide more details about the smartlist 8 issues as I’m not sure what you mean.
3. The classic(numeric) pagination cannot be used on blocks, only the nex/prev infinte and load more types of pagination are available there. You can change the page template to Pagebuilder with Latest, so your latest articles will be automaically displayed at the bottom of your page with numeric pagination – http://screencast.com/t/FYwQxBPIANhttp://screencast.com/t/WCnxjf2FxeO
4. Please check this guide how to use pagination on post – https://forum.tagdiv.com/posts-with-pagination/
5. Check documentation – https://forum.tagdiv.com/how-category-settings-work/

Thanks!

fdiengdoh
tagDiv Member

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_category_template_2 is not set.
/home/lynsdien/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
Missing parameter: 'file'
/home/lynsdien/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_autoload_classes.php

wp booster error:
The category template td_category_template_2 doesn't exist. Did you disable a tagDiv plugin?
/home/lynsdien/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

I Forgot to update tagDiv plugin previously, and still after updating I got the above error

fdiengdoh
Participant
#0

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_category_template_2 is not set.

wp booster error:
Missing parameter: 'file'

wp booster error:
The category template td_category_template_2 doesn't exist. Did you disable a tagDiv plugin?

My tagDiv is not disabled

mboydnv
tagDiv Member

Hey Chris,,
Could you look at this post for help and by chance do you have any ideas? is it the template or yoast? I’m stumped

https://forum.tagdiv.com/topic/self-generating-sub-pages-help/

simchris
tagDiv Member

Sure. WordPress doesn’t have an option like that. You could likely setup some custom CSS with a javascript sniffer to swap out a different stylesheet without the mobile elements, much like the commonly used js which was used by many to swap out stylesheets to load different size fonts/sizes dynamically awhile ago.

Yes, you could setup a “custom” “pagetemplate which loads an alternate stylesheet without the @media queries for mobile, so that there are no mobile styles at all. Just create new template for a page like “custompage” and then use normal WordPress practice for the custom page templates for that.

See the WordPress codex on how to build a custom page template to load automatically for a specific page, such either by name or page ID. For posts it’s trickier.

Much simpler to use a browser like Chrome where you can specify to “request desktop” version.

You might also be able to use built-in WordPress “if/then” logic to do something like “if post ID XXX, load style2.css, else load style.css” — but then you’d have another if/then query on every page; might work if it’s not a permanent thing. See WordPress codex on how to construct an if/then statement in your header.php template to do that. Then just clone the default stylesheet and remove all the @media queries for mobile.

bt012008
Participant
#0

Hello, resident website destroyer here. This is my website: http://www.thechaff.co

I removed a line of code that a developer friend added for me to the ‘Newspaper: Homepage – blank Page Template (page-homepage-blank.php)’. The code that he had added was this:

<h2 class=”fancy”><span><?php echo date(‘F j, Y’); ?></span></h2>

He helped me add that because earlier I wanted the date to display at the top of my homepage. I no longer want this, so I thought I could just remove it.

Now however, if you take a look at my site, things aren’t looking so hot, and I’m not exactly sure how to fix it. In between the dashes below is what the code currently looks like:

<?php
/* Template Name: Homepage – blank */

if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class=”container td-page-wrap”>
<div class=”row”>
<div class=”span12″>
<div class=”td-grid-wrap”>
<div class=”container-fluid”>
<?php the_content(); ?>
</div>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php } else {
echo td_page_generator::no_posts();
get_footer();
}

Any assistance would be greatly appreciated. Thanks!

GWhite23
Participant
#0

I am having problems with my site after updating to the latest version of the newspaper theme. (I updated from version 3 to 6 yesterday)

I think the problems are related to the visual composer plugin not working correctly.

I want to use one of the pre-defined homepage templates for my homepage but I cannot access the templates as the backend editor of visual composer does not work or show up.

I spoke to my ‘WordPress guy’ and after taking a look he reckons that it seems like a theme bug and it was best to contact the theme dev.

What should I do? Thanks in advance.

Andrei L.
tagDiv Member

Hi

To remove the ads from 404 page add this code in td_block_ad_box.php

  if ( td_global::$current_template == '404' ) {
            return;
        }

If you want o remove the ads from some specific pages you need to add a set of conditions like here: http://screencast.com/t/F6eLyoB3U1W

if (is_page(ID) or is_page(ID)){
            return;
        }

To get the page id follow this link: http://screencast.com/t/Lhewob9kSr

Thanks!

  • This reply was modified 10 years by Andrei L..
  • This reply was modified 10 years by Andrei L..
Viewing 25 results - 16,876 through 16,900 (of 18,570 total)