Search Results for 'page template'

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,

It works on the default template too, you just need to place the code in the case used. There are 2 cases: ‘// the page is rendered using the page builder template (no sidebars)’ and ‘//no page builder detected, we load a default page template with sidebar / no sidebar’ : http://screencast.com/t/BxIdewOs
You can place the code in both cases if you want because it will only display the one detected.
This is how it looks like on my end. This is on the default template : http://screencast.com/t/i6BtIxN7t2

Thank you!

BrettLP
tagDiv Member

Hi Bogdan,

Thanks for the help! That works using the pagebuilder page template as the new template. Yet, what if I was to use the default page template? (page.php). I tried placing the above code above the wrap, with no luck.

Thanks!

Andrei L.
tagDiv Member

Hi

You need to use Page Builder + latest article as a page template to have the loop settings available: http://screencast.com/t/Ov52HBSmXJI
Regarding the main menu please check our documentation for more details: https://forum.tagdiv.com/main-menu/

Thanks!

BrettLP
tagDiv Member

Hi Alin,

Thanks for that, I’ve already reached that far. However, I’m just trying to work out where in the code on that template to add this:

<div id="wtog-logo"></div> <div id="wtog-menu"><?php wp_nav_menu( array( 'theme_location' => 'wtog', 'container' => '')); ?> </div>

So that it would work, with all the page content rendering underneath it normally.

Alin [tagDiv]
tagDiv Staff

Hi,

The latest version of Visual Composer was tested only with Newspaper 6.
Regarding you custom page template, you can create your own page template in the root of the theme and copy the code from page.php(default template) and just add this comment instead – http://screencast.com/t/UdDaIQhr It should appear on template options – http://screencast.com/t/cONiVSlbjH7 Then add your custom modification to the code.

Thanks!

Le Claqueur de Doigts
tagDiv Member

Hi Alin,

I hope you’re doing very well !

Sorry for the late reply, I was abroad last week with few to no internet connection.

So here’s my homepage template : http://www.leclaqueurdedoigts.com/

I’d like the extra footer row where the instagram feed is to be thinner in height.

How can I achieve that ?

P.S : Btw, I succeeded to deal with the width of the widget, this question is resolved. 🙂

dragon
tagDiv Member

actually, I tried this as suggested on stackoverflow but I guess newspaper works in different way, It didn’t work.

// use template_redirect action:
add_action( ‘template_redirect’, ‘my_redirect_to_post’ );

/// Function to redirect from certain category pages to first post of those categories
function my_redirect_to_post() {
if (is_category(‘3’) || is_category(‘5’) ) {
$category = get_the_category();
$posts = query_posts(‘showposts=1&cat=’.$category[0]->cat_ID);
if(have_posts()) :
wp_redirect(get_permalink($post->ID));
endif;
}
}

Alin [tagDiv]
tagDiv Staff

Hi,

You can use a Pagebuilder with Latest Articles template for your homepage and you can control the number of post and module – http://screencast.com/t/BXOufy4hQe For this template you will have classic pagination(numeric).
If you want to display your latest articles using a block, you can limit the posts and set load more pagination – http://screencast.com/t/pVqHoQ8RjVUrhttp://screencast.com/t/JUJGOUhJqdI2

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

A solution to apply this only for homepage would be to create a page without content, but set the template with Latest Articles so you will be able to set the number on articles on that specific pagehttp://screencast.com/t/D1OeFnOKY Also set you page as front page from WP Settings – http://screencast.com/t/qJE7YqUo

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

The template used for single product page in the theme is single-product.phphttp://screencast.com/t/rv4oshkHjVs so you can change it if you want.
If you want to create another template you will have to check the plugin documentation – https://docs.woothemes.com/document/template-structure/ as you need custom modifications. If you don’t have php/html/css experience I suggest to get someone to help you with this.

Thanks!

BrettLP
Participant
#0

Hi,

I just upgraded to Newspaper 6 today due the latest Visual Composer not working with Newspaper 4 (at least, it didn’t for me). Anyway, I’m trying to create a page template, however I’m having a few issues.

Effectively, the template that I created allowed was a standard page, but had a logo (Background image) at the top of the page content (underneath the header), with a menu underneath. The code for this on Newspaper 4 was:

get_header();

if (have_posts()) { ?>
    <?php while ( have_posts() ) : the_post(); ?>
        <div class="container td-page-wrap">
            <div class="row">
                <div class="span12"><strong><div id="wtog-logo"></div>								<div id="wtog-menu"><?php wp_nav_menu( array( 'theme_location' => 'wtog', 'container' => '')); ?>					</div>		</strong>	
                    <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();

All of the pagebuilder/visual composer content would show as normal below this ‘submenu’ (wtog-menu). What would be the best way to have the same shown in Newspaper 6? I noticed the code on the other existing templates are much more complex, so any help would be appreciated.

masterqif
Participant
#0

Hi,

I just installed Newspaper theme in my website, PanduanSaya.com. Just finish my edits but I found out a few things not working properly:

1. My mega menu not showing sub-categories. I followed the tutorial but can’t get it to work
2. My ajax filtering or pagination in block (homepage) not working properly. I clicked the next/previous, but somehow it takes to the top of website, and the ajax does not change the page that it should be – it just takes you to the top of the website.
3. My news sticker also having the same problem like ajax filtering in block.

Here are few of my settings, hope it helps:
– I disable lazy load, because it causing my images not showing
– I tried optimized pre-loading in mega menu preload, not working
– page attribute for my homepage (visual composer) is default template
– I use Incapsula CDN

mboydnv
Participant
#0

Hi,

I’m puzzled by this one…

I create an About us Page, i put my content in and use default template (travel) and think I did it right, then I learn I’m being indexed for more paginated about us pages… /about-us/page/5/ … /about-us/page/6/

This is happening to all my pages. Contact us, Privacy etc. I can’t figure this out… I went into VC looked at ajax settings for template all looks good.

Any ideas?

Please

Andy
Participant
#0

Hi,

Please take a look at this post(http://www.newsmug.in/special-page/photo-video-gallery/inspirational-video).I have used Post style 11 template. However I dont want the Ads to be displayed in mobile specifically for this template.How would I do that

Also please take a look at this post(http://www.newsmug.in/sports/higlights).I have used Post style 10 template.I want the title to be displayed above the Video right now the title is displayed below the video.Please help with this

Thanks!

Andrei L.
tagDiv Member

Hi

Thanks @ThryveWell and @Chris for your suggestions!

@pfarelo
first of all your site is set to display the latest article not a static page. If you want to change that go at Settings > Readings and chose a static page to be displayed as front page: http://screencast.com/t/VSDcbdz7tP If you want to change the post template for the blog page, that can be done from theme panel > template settings: http://screencast.com/t/4p9bgL2DAS
Also you can check our documentation for more information about page templates and how to personalize the homepage: https://forum.tagdiv.com/homepage-how-to-build-and-set-it/https://forum.tagdiv.com/page-templates-2/

Hope this help and if you need further instructions please let us know.

Thanks!

  • This reply was modified 10 years by Andrei L..
  • This reply was modified 10 years by Andrei L..
Alin [tagDiv]
tagDiv Staff

Hi,

If you use Visual Composer to create your page, you can use Widgetised Sidebar block to display your custom sidebar – http://screencast.com/t/QgjXE99zqzw5 as the sidebar is added automatically only if you don’t use VC pagebuilder.
If you need this, you can switch to PageBuilder with title template which allows you to set the sidebar from Page Settings – http://screencast.com/t/6Wklpgg3ehttp://screencast.com/t/ufa8te8Ijz
But you need to be careful how you add blocks to the page if you use this template, for example Big Grid can be used only on full row width(so you cannot use it on this template only if you don’t use sidebar) – http://screencast.com/t/3cz3DtNHnlThttp://screencast.com/t/Oinr6S3zvLT

On posts you can select a custom sidebar.
– It can be set globally (to all posts) from Theme Panel -> Template Settings -> Blog and post settings – http://screencast.com/t/FBCaRUVYe2
– On each category, this will override the global settings and the posts included in the category will inherit the settings from here – http://screencast.com/t/j7J0vtEBti
– And it can be set individually on each post (overrides global and category settings) – http://screencast.com/t/DhiJ3uqcr

Hope this helps!

Andrei L.
tagDiv Member

Hi

I suspect you’re using page builder + latest articles as page template in Visual Composer: http://screencast.com/t/eRU4fCDo You can find more informations about page templates in our documentation: https://forum.tagdiv.com/page-templates-2/ Also you can change the sidebar from page settings: http://screencast.com/t/7y3bwpnv2J and you can customize the latest article area from posts loop settings: http://screencast.com/t/IIpzqFa7hQ7 Regarding the sidebar widget that can be customized from Appearance > Widgets: http://screencast.com/t/UH5kUA4Dp IOn this section you can add or remove elements from that widged or change the blocks settings displayed in the widget.

Hope this help.
Thanks!

radhalokesh
Participant
#0

Newbie here. Sorry if its a duplicate post.
I am trying to create a new homepage using visual composer.
Everything is fine except the template layout.
At the end of the homepage, a template with recent posts appear. There is also a non-customisable side bar.
How to modify this layout?

Bogdan B.
tagDiv Staff

Hi,

If you use visual composer on pages, the title will disappear on the default template. You can reactivate it by selecting the pagebuilder + title template: http://screencast.com/t/x010GpaYOe
You can read more about breadcrumbs in our documentation here: https://forum.tagdiv.com/bread-crumbs/

Thank you!

pawsandwhiskars
tagDiv Member

Hi Andrei,

I believe I found my explanation. When it comes to SEO tools, most of the weight is carried by the pages of a website as opposed to analyzing the post structures. Hence the results indicating the missing <h1> tag.

I saw the ‘adding a textbox’ workaround. Stylistically and visually not the best solution, but there doesn’t seem to be a choice in that matter.

Now I have a new question for you:

On a default template page, I am using a Block 13 plus a Widgetised Sidebar.
The Block 13 headers are <h3>. I need to change that to <h2>. How do I do that? I need some guidance, please.

As you might already know, and I can’t stress it enough, SEO is crucial when it comes to content-related websites, which is why it is imperative that I get my <h1> and <h2> tags ‘questions’ sorted out.

Thanks in advance!

fbento
Participant
#0

Hi there!

I have a problem with the breadcrumbs, at the theme settings all of options are selected http://prntscr.com/8rc3io .

My pages without templeate http://prntscr.com/8rc5r6 show the bradcrumb http://prntscr.com/8rc67h .
Adding a Default template VS the breadcrumb disappears.

I will use the breadcrumb 97% or more on my pages. All my posts show the breadcrumb less pages.

How to show it in my pages?

janamtrup
Participant
#0

Hi

I was thinking, I have a number op “bloggers”, is it possible to create and save a template for a page, and give permission for each one of the bloggers to write on pages dedicated only ? ? SO I dont have to go into multisites.

Or dos anyone have a sugesstion on how to run this?

Thanks

Foupin
tagDiv Member

Hello,

There’s no contact page created by the the video demo I’ve intalled.
I’ve created a new page using the contact page Template from visual composer
but there’s no form added.

There’s a text saying this instead:
Install Contact Form 7 Plugin and replace this text block with your contact form.

I would prefer not to use another plugin if possible.

Also how do I copy contact page from default demo to video demo that I’ve alreay installed?

François

Lucade
tagDiv Member

When I write a very long article I prefer to divide it into more pages, but when I share an article in more pages ADSs inserted through the template are no longer visible.
In this example http://rubricanews.com/come-rimuovere-lantitaccheggio-in-solo-4-passi/
The article suddivo in 5 pages; the adsense because you see only entered with EASY adsense wordpress plugin, if I insert the adsense using the template using the options ADS article >> top etc. are not seen

ITA
Quando scrivo un articolo molto lungo preferisco dividerlo in piu pagine, pero quando divido un articolo in piu pagine gli ADS inseriti tramite il template non sono piu visibili.
In questo esempio http://rubricanews.com/come-rimuovere-lantitaccheggio-in-solo-4-passi/
L’articolo e suddivo in 5 pagine; gli adsense si vedono solo perche inseriti con EASY adsense un plugin wordpress, se inserisco gli adsense tramite il template sfruttando le opzioni ADS>>article top ecc non si vedono

Alin [tagDiv]
tagDiv Staff

Hi,

You can create you block in a page using Visual Composer, filter options, sort order, pagination – http://screencast.com/t/uC6tfp2w
Then edit the footer template that you use and use do_shortcode function – http://screencast.com/t/koR5Duvgj1http://screencast.com/t/0XCw4vunOH

<?php
        if(is_single()) {
            echo do_shortcode('[vc_row][vc_column][td_block_3 limit="6" ajax_pagination="load_more"][/vc_column][/vc_row]');
        }
        ?>

Thanks!

Viewing 25 results - 16,926 through 16,950 (of 18,570 total)