Search Results for 'page template'

Results from the Forum
elvinf
tagDiv Member

Hi Andrei,

1 – A. Thanks for the CSS tip. I made the modifications and the ad is no longer over the buttons
B. Re: The ad widget under the share buttons. The widget code on that page was inserted into the theme panel “Article Bottom Ad” I moved the ad spot to below the share buttons using the instructions giving to me in this post. https://forum.tagdiv.com/topic/pagination-buttons/

4. To display the pagination above the article button add you need to remove the the ad from post content: http://screencast.com/t/PWgzx852 then place the ad after the pagination function in posts’s template file, like this: http://screencast.com/t/pgCbyqSPF You can use the do_shortcode(‘ ‘) function and insert the ad shortcode from VC: http://screencast.com/t/W4SFKPnoShnhttp://screencast.com/t/lqaJxdVdMee in every post template files coresponding for the post templetes used.

The article bottom ad is visible on non paginated post and on this paginated post: http://bit.ly/1PB9HQf but no on this one http://bit.ly/1nObbMO. All plugins are disabled.

Bogdan B.
tagDiv Staff

Hello,
This can be done very easy by selecting the default page template and add a block with infinite load as your latest articles block. You can see an example of it here: http://demo.tagdiv.com/newspaper/homepage-infinite-scroll/
We used a block 4 and infinite load option like so: http://screencast.com/t/aDOCB0VYI
Thank you!

Andrei L.
tagDiv Member

Hi

You can insert an ad under post title using do_shortcode function in the file corresponding with post template used, like here: http://screencast.com/t/sOX6p9gHJ

<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>

To get the shortcode add an ad box into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
For homepage you can use the adbox clock from Visual Composer like here: http://screencast.com/t/0kTjlWwwghttp://screencast.com/t/USSisJGc

Hope this help!
Thanks!

  • This reply was modified 10 years by Andrei L..
Mayapur Voice
Participant
page speed - topic
#0

My test page using newspaper demo template shows terribly slow speed on google page speed test. I have read https://forum.tagdiv.com/how-to-make-the-site-faster/ and done a few things but it doesn’t really seem to help. my question is, which steps out of total six shown on the above link are essential (I mean most crucial) to increase the speed? (and don’t say all are essential :-)). FYI, I already have changed our website to a better/faster hosting plan.

Andrei L.
tagDiv Member

Buna

Ceam mai simpla metoda prin care poti aduga un tag de H1 pe pagina e adaugarea unui text block in Visual Composer iar unul dintre paragrafe sa aiba heading-ul indicat: http://screencast.com/t/ltxuDgzb
O alta metoda ar fi sa foloseste template-ul page builder + title care adauga titlul pagini cu un tag de H!: http://screencast.com/t/IwCKZDFmhttp://screencast.com/t/3RxALFcHEz
Referitor la folosirtea functiei anterioare am prtecisat in mesjul anterior ca aceasta intoarce doar un titlu generat in php. Heading-ul tine de html iar acesta trebuie adugat manual. Modul in care e afisat titlul in pagina e influentat de heading-ul pus pe acel titlu si de codul css care se aplica pe el si pe containerul in care este inclus. Daca apare un spatiu gol cel mai probabil elementul are o margine sau un padding care trebuie ajustate din css.
Tagul de apare in head-ul paginii: <a href="http://screencast.com/t/K7PeE7iGtfF" rel="nofollow">http://screencast.com/t/K7PeE7iGtfF</a> – <a href="http://screencast.com/t/wl0EypcFdar" rel="nofollow">http://screencast.com/t/wl0EypcFdar</a> nu e vizibil pe pagina fiindca informatiile din acea parte sunt pentru browser si motoarele de cautare.</p> <p>Multumesc!<br />

wash
Participant
#0

Hello,

one of the users noticed (Chrome, Win7) icons in main menu (and please notice icon in red button in left area) are not loading. Could this be problem with configuration or template? Please see screenshot https://www.dropbox.com/s/i66akguisfbsecu/fonts-chrome-win7.png

Best regards,
wash

Andrei L.
tagDiv Member

Hi

The indicated part here: http://www.screencast.com/t/RSGBCaVe2 is not a block from Visual Composer. That is the loop part generated by page-builder + latest article pagetemplate. Its equivalent in backend editor is here: http://screencast.com/t/03Kwgm8hA9C
The function which generate that pagination can be found in td_page_generator.php http://screencast.com/t/EpLaTGGx4J The pagination for blocks it’s based on ajax and the hard part comes when this numeric pagination: http://www.screencast.com/t/RSGBCaVe2 must be adapted as a ajax pagination. Basically when you click on the page 2 or 3, the main page won’t reload, as happens now. The final implementation should be similar with this one: http://www.sanwebe.com/assets/ajax-pagination-basic/ but adapted at our theme’s requests. You can use this example if you want to give it a try: http://www.sanwebe.com/2013/02/ajax-pagination-jquery-php-simple but as I said in my previous reply it’s a very complex task which require time and many investigations in order to be accomplished successfully.

Hope this help.
Thanks!

stevecolton
Participant
#0

Hello – I use the newspaper template and it looks pretty good on most sites, but a user has just complained that the page doesn’t display properly on the latest version of Internet Explorer, with images appearing in the wrong place. Do you have any idea how I can fix this please?

Here’s the link.

http://football.betvictor.com/price-promise-brings-you-the-biggest-odds-every-time/

kaalozz
Participant
#0

Hello every body

i purchased the template 4 months ago and installed this website in french

http://laura-laventure.com/

the problem i have is that i have hard difficulties to change titles of the following rubrics :

“Most popular” and “hot news” at the bottom right of the homepage and “latest news” “must read” at the right inside every items

i don’t find those titles to change inside Newspaper–>theme panel–>translations !

i don’t know where to find them to modify them

i need your help please

i am desperate

thanks

cinemartin
Participant
#0

Hi,
my site tonimartin.net is using your theme and it was almost perfect. Then I tried to install a plug in to connect a facebook login, but it required a php 5.4 instead of the one php 5.3 was running on my site. After I chanced on Htaccess this preset on my cpanel, then, nightmare, my frontpage became a mess. tumbnails didn´t show up and also happen other templates design problems in my Newspaper theme. Then, I returned to previous php 5.3, but still having the same problem.

Can you help me to solve this problem? Best
my site is:
http://www.tonimartin.net

Andrei L.
tagDiv Member

Hi

You can achieve that by editing the loop file corresponding with the post template used for post like here: http://screencast.com/t/mP59b3MKLw

<?php
                    $check_views = td_page_views::get_page_views($td_mod_single->post->ID);
                    if($check_views > 10){
                        echo $td_mod_single->get_views();
                    }
                    ?>

You just need to replace the number from the condition wit your number.
Thanks!

  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hello,

You can access the main category page code here: http://screencast.com/t/j9bFrAXErtF
If you want to target a particular category template you can find the code here: http://screencast.com/t/1NVZK6czh

Thank you!

Andrei L.
tagDiv Member

Hi

To remove the header from the pages you need to edit the file corresponding with the header style used and add a condition like here: http://screencast.com/t/5BO7ShL3Bhttp://pastebin.com/KKdusNXM Also you will need this css in theme panel > custom code > custom css:

.td-header-menu-wrap {
min-height: 0;
}

This code will hide the header in all pages.
The same step must be done for footer: http://screencast.com/t/9O3A21aRpve9http://screencast.com/t/QePMMbva7m
Please note that I’ve test this only with header style 1 and footer template 1. For a different header style or footer template you may need additional conditions. If you can’t manage to this by yourself my advice is to look for someone to help you as we can’t offer custom work at the moment.

Thanks!

  • This reply was modified 10 years by Andrei L..
Catalin
tagDiv Staff

Hello Visionlaunch,

I have checked your website and saw that you are using Newspaper 6.1 version. The pagination issue was fixed in the latest update 6.6.4. This kind of problem was caused by the ultimate version of WordPress 4.4.1. Please try to update to the latest version and also, before this, please do a full update.

There is also a quick fix for this, but also this is provided for version 6 of the theme. You could adjust this code and add it to your functions.php file – https://forum.tagdiv.com/topic/wordpress-4-4-1-pagination-new-fix/ Try this code, it might work:

add_filter('redirect_canonical', 'td_tmp_fix_wp_441_pagination', 10, 2);
function td_tmp_fix_wp_441_pagination($redirect_url, $requested_url) {
global $wp_query;

if (is_page() && !is_feed() && isset($wp_query->queried_object) && get_page_template_slug($wp_query->queried_object->ID) == 'page-homepage-loop.php') {
return false;
}

return $redirect_url;
}

Please consider to update the theme in near future as you may have other issues with the theme if you update the plugins that you use, WordPress..and we always use the latest version of the theme to help our clients and we provide fixes for problems occurred, like in this case WordPress latest version.

Thanks!

cookingpanda
Participant
#0

Hi this website is also using the same template

http://www.scrapdigest.com/ronda-rouseys-mom-holly-holm-verbally-blast-coach-edmond-tarverdyan/524/

how do you add that next button page.
it’s one article with multiple pages

benrud
Participant
#0

Hello,

In the live preview the social sharing buttons pull an image and a description from each shared page. Where do you set that information?

Is there a way to set meta property=”og:image” and meta property=”og:description” with this template?

Thanks for your assistance!
Todd

nf_prt
tagDiv Member

Oi Felipe,

(se eu tou entendendo bem) tem que mudar o modelo da página, ver primeira imagem:

https://forum.tagdiv.com/page-templates-2/

Isso daí faz aparecer uma tela nova por baixo do editor da página que deixa configurar o aspeto do loop dos artigos (ver segunda imagem do link anterior).

Se essa tela não aparece, é preciso ativar na opões deste ecrã:
ecra

Penso que é isso, abraço!

Catalin
tagDiv Staff

Hello salimnazer,

If you want to use module 13, we suggest using the template named pagebuilder+latest articles when you edit your home page like this -> http://screencast.com/t/ljm4nwCgpa

Hope this helps and let us know how it goes!

Thank you for the message!

Albert
Participant
#0

Hello

I have checked my website SEO on “quixapp” site, and a red advertisement like this appears to me:

“This page’s canonical link element points to another page, which might prevent this page from showing up in the rankings”

First of all, I have asked to google support forum and someone have answered me that this mistake happens because the canonic URL includes “/” and my homepage doesn´t include it. All URLs of my website includes that bar, so I should revise the configuration, he said.

I understand that probably is not a question related with Newspaper theme, but he suggested that I must check setting template, permalinks and Seo By Yoast, which I use, recommended by your tutorials.

It´s a problem that I am really worry about.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this guide how to create and set a homepage – https://forum.tagdiv.com/homepage-how-to-build-and-set-it/ and also – https://forum.tagdiv.com/how-to-use-visual-composer/
I’m not really sure what you are trying to do. Do you want to display latest articles after the pagebuilder content? If you do you can set Pagabuilder with Latest Articles templatehttps://forum.tagdiv.com/page-templates-2/ You can control the latest articles section from page settings – http://screencast.com/t/nO73WuxSqgU
If this doesn’t help please provide more details.

Thanks!

svharishtech
Participant
#0

Hello,

I purchased the newspaper theme recently. I am currently working on my test subdomain. I am trying to make a home page using the default theme template and i am facing a strange issue. If i add more then one “block 1” content to the homepage and publish it, i am just getting a blank page. Whereas if i am using only one “block 1” content then all seems OK.

What could be causing the issue? I need to fix this before i update all the changes on my live site.

gaby
tagDiv Member

Thanks Alin for your answer but:
the fonts are correctly loaded after css stylesheet loaded. The only problem comes from wp-booster which wants to include inline style declaration into the template (that’s cool to avoid css blocking rendering) but in the wrong way.
The wp-booster generated code refers to relative path to fonts (css/fonts/..) whereas the code snippet is generated on every pages (on page1, browser will try to load url/page1/css/fonts/font.ttf and on page2 url/page2/css/fonts/font.ttf). That’s insane.
Precisely it’s td_css_buffer.php::on_wp_header_render_header_css function that includes fonts declaration.

How can we avoid fonts to be caught by this “add_to_header” optimization?

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately there is not option to enable a similar option for tag page, sorry! You could try to implement a Big Grid to the tag template using do_shortcode function but you will get the same result on all your tags or/and you could create conditions using is_tag function – https://codex.wordpress.org/Function_Reference/is_tag This is not easy if you don’t have basic php skills, but you could hire a freelancer to do this for you as we cannot provide custom work at this time sorry!
As reference please check this topic(is from newsmag but it works the same) – https://forum.tagdiv.com/topic/tag-settings/
I will add this request to our list but I cannot promise you anything regarding it, if/whem it will be implemented!

Thanks!

willyw2k
tagDiv Member

Hi Catalin, Thank You SO Much.. Now Im Using Default Template But When iM click the pagination like page 2 that not work

Catalin
tagDiv Staff

Hello bhadrabalaram,

Correct! It is not necessary to set a background image to use the above code. If you want to be more specific and have for each category another image, you have to find the category id and add it before the code that I gave you above, like this -> http://screencast.com/t/nayIF5GuU0mW -> http://screencast.com/t/E7WLWOjI

The code is ->

.category-6.td_category_template_6 .td-category-header{ background-image: url('http://www.gettyimages.ca/gi-resources/images/Homepage/Hero/UK/CMS_Creative_164657191_Kingfisher.jpg');
background-size: 1164px 400px;
background-repeat: no-repeat;
}

If you want to add this code for another category, you have to replace only the ID number with the category number for that category.
Notice -> you must have the same category template number 6

Hope this helps and let us know how it goes!

Thank you for the message!

Viewing 25 results - 16,601 through 16,625 (of 18,570 total)