- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Simon and how I can do like this? (may be it wasn’t correct the first request). It’s example in one similar site (block of links after every post)
http://www.screencast.com/t/POOPQfgBGRq
-
This reply was modified 8 years by
I-rover.
But, could you be possible include the “Big Grid 10” or “Big Grid 4” design into the “Slide” block?
Thanks again for your patience
“Any modification made to a block will affect any instance of the block. You cannot edit the block that is on one row in the code, without affecting all the other same type blocks.”
I’m fine with that. Is the file in your screencast the only file I need to edit to achieve a two span in the first row of block 4, and three span underneath (one instance).
“Also each block will have it’s own filtering, this cannot be synchronized between blocks unless same filtering and sorting is used for all of them.”
This is the exact reason why I need one instance as opposed to multiple. I wrote this myself in my previous post. So I understand the functionality there.
In summary, I appreciate your guidance to corral me to other alternatives, but I really need to know where/what needs to be changed to achieve a two span for the first row and 3 span for the remaining rows (within a 12 column VC row) for one instance of block 4.
Hi,
Please note that blocks display differently, depending on the row layout. For example a block may display three modules on a full row, and two modules in a different row setting. Here you can see how all the blocks look in all layouts
– https://demo.tagdiv.com/newspaper/block-1/
I have browsed the website, but I do not see any problem with the homepage, category pages, post pages, etc.
Maybe I am misunderstanding the issue.
Thanks
Hello fanjumin,
Notice that sidebar is custom made exclusively for displaying our demos and it’s not designed to display some blocks or modules in it, sorry! If you want to activate this, you should change the following parameter from here -> http://www.screencast.com/t/HMJC8F923oL from false to true.
Hope this helps!
Thanks for your understanding!
Thanks. Since updating to Theme 8 Newspaper I have started to experience issues with modifying elements. http://www.pigsfly.info user boblee p/w pa66word
Page in question is POLITICS2 after adding a TEXT BLOCK I am unable to delete the existing text and insert text or code that I need. Most blocks are also exhibiting the same problems. Additionally I revamped my HOME page and adjusted the menu accordingly but have the weirdest problem – the landing page is not the HOME page – when I manually use the tab to go to HOME the url indicates home-new and I am stumpted hoe to locate and fix this issue
Your advice and guidance would be much appreciated.
Thanks in advance Bob
-
This reply was modified 8 years by
ShibumiOz.
Hello Iker Glez,
What block do you refer to? Also, provide your website URL so I can take a closer look at it. More useful would be to provide here some screenshots with your problem for a better understanding.
Thanks for your message!
Hi,
The single post page displays only a related articles section
– https://forum.tagdiv.com/related-articles/
If you would like to display additional content you will have to edit the loop-single file corresponding to the post template you use (post template 2->loop-single-2.php)
– https://www.screencast.com/t/3ffUaBATNZ
These post templates are located in the main theme folder. Opening one of them in a text editor you can see the structure. Enter the code there, maybe below the related articles section or where you want the block to display. Then check the results.
Thanks
Hi,
Page speed can be affected by many factors. Having complex Visual composer elements on pages can have a negative impact on page speed. I believe that is the functionality of the post grid that from Visual composer. You could try to reduce the initial number of post loaded in the grid, that should have a positive effect on loading speed of the grid.
Also check the theme system status
– https://forum.tagdiv.com/system-status-parameters-guide/
You could use theme grids and blocks to display the posts. These are all the available blocks and grids
– https://demo.tagdiv.com/newspaper/block-1/
– https://demo.tagdiv.com/newspaper/big-grid-1/
– https://demo.tagdiv.com/newspaper/full-big-grid-1/
Use the selection on the right to switch block and grid type.
Thanks
Hello fquiquet,
This is the default style for that demo, sorry! You should try using a bit of CSS code to achieve this. Try the code below and place it in Theme panel -> Custom CSS area.
The code is ->
.td-theme-wrap .block-title > span{
color:white!important;
background-color:black!important;
padding-left:10px!important;
}
.block-title{
border-color:black!important;
}
The result is here -> https://www.screencast.com/t/pHiPssn9m
Thanks.
Hi Simion,
Thanks for your reply.
I’ve changed something in the CPT – now the Tags are shown once I directly go to an recipe.
See: https://www.dropbox.com/s/fxc7i9j7xjwjgyh/Bildschirmfoto%202017-10-25%20um%2009.03.01.png?dl=0
But I dont see them in the Megamenu, nor when I click on a category 🙁
Or do I have to change something around the block settings? e.g. activate ‘recipe’ for specific blocks?
-steven
Hi,
The theme can display custom post type as well. If that plugin is creating a custom post type (probably recipe) that can be displayed in blocks by entering the post type name in the required field. All your custom post type are displayed in Theme panel->CPT
– https://www.screencast.com/t/zpgmduvWWE
Thanks
Hi,
I have fixed the errors in console by removing
1. Revcontent Widget code
2. Ad tags by snack-media
3. Article in-line ad
However, I am still having “empty article” error in Google News. Also, I am unable to “Fetch as Google” as it gives the temporarily unreachable error. However, I am not blocking anything in robots.txt or htaccess.
Regards
Azhar Nadeem
Hi,
The ajax filter will act as a different filtration on the block. Clicking on a category present in the ajax filter will display posts from that category. That is how the blocks work, there is no option to change that functionality. If you want posts from more specific categories to be displayed, add their IDs in the categories filter. More about the available block settings here
– https://forum.tagdiv.com/block-settings-guide/
Thanks
Hello,
¿Is it possible full-width images (featured/thumbnails) on mobile devices, same as seen in block 22?
I have tried to stretch the row to full-width but only works on non-mobile screens
Thanks
Hi
I have a question. I just want to add block – OUR LATEST POST (from 404.php) at the bottom of the single post. How to add or modify this code and paste to single.php?
<h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS', TD_THEME_NAME) ?></span></h4>
<?php
$args = array(
'post_type'=> 'post',
'showposts' => 6
);
query_posts($args);
$td_loop_block_module = td_util::get_option('tds_404_page_layout');
//$td_loop_block_module
locate_template('loop.php', true);
//get_template_part('category', 'slider');
wp_reset_query();
?>
of course after content and before widget (mobile)
Hello, I’m a new user of AdSense, so I’ve got a very basic question on how to get Ad configuration done. I have a code from AdSence, that actually looks like this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-2865731985189512"
data-ad-slot="3419420472"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
my question is: where I have to paste this code to get it working. When I pasting this code directly into theme’s dedicated place, nothing happens but I see in the console errors:
show_ads_impl.js:1 GET https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2865731985189512&output=html&h=250&slotname=3419420472&adk=1050321431&adf=1218564006&w=300&lmt=1508877900&format=300x250&url=https%3A%2F%2Fdmitr.io%2F&flash=0&avail_w=324&wgl=1&adsid=NT&dt=1508877899975&bpp=7&bdt=490&fdt=8&idt=32&shv=r20171021&cbv=r20170110&saldr=aa&prev_fmts=728x90&correlator=1444114385766&frm=20&ga_vid=2088642563.1508877900&ga_sid=1508877900&ga_hid=590819360&ga_fc=0&pv=1&iag=3&icsg=2&nhd=1&dssz=2&mdo=0&mso=0&u_tz=180&u_his=2&u_java=0&u_h=1440&u_w=2560&u_ah=1324&u_aw=2560&u_cd=24&u_nplug=4&u_nmime=5&adx=928&ady=902&biw=1411&bih=1250&abxe=1&eid=10583696%2C21060831&oid=3&nmo=1&zm=1.40&rx=0&eae=0&fc=528&brdim=49%2C23%2C49%2C23%2C2560%2C23%2C1978%2C1324%2C1411%2C1250&vis=1&rsz=%7C%7CoeE%7C&abl=CS&ppjl=u&pfx=0&fu=16&bc=1&jar=2017-10-24-20&osw_key=1608009942&ifi=2&xpc=pGQYNGqMsK&p=https%3A//dmitr.io&dtd=141 403 ()
thank you in advance.
I found out. Textblock with title. Margin = -40
http://www.europahypotheek.nl/spanjehypotheek/
Topic can be closed.
Best regards.
Ad
Hello,
How should I set the padding or margin or ?? from the row which contains the textblock so that the top of the text is at equal height as the widgetised sidebar?
Please see: https://ibb.co/c2VYMR
Or: http://www.fynis-im.com/mortgages-for-france/fynis-international-mortgages/
As you can see the textblock in the middle is ‘lower’ than the sidebar.
Many thanks.
Very satisfied with the theme and also the tagdiv composer.
Hi @Chris
Thank you so much for the response. Google News sitemap contains relevant URLs and can be accessed https://www.sportscourant.com/news-sitemap.xml
In the crawl errors, i can see *empty article* error but page source has all the content there.
Also, Googlebot is seeing a blank page when Fetch as Google tool is used. My website is hosted on Godaddy Managed WordPress hosting and neither htaccess not robots.txt is blocking any resource.
Any help in this regard would be greatly appreciated.
Regards
Azhar Nadeem
Hello,
I would like to point out the “messed up” part. It is the footer become super long. If I read from mobile, it looks fine with 4 main categories: gourmet/travel/fashion/outdoor with 10 posts each.
However, when I run them on PC through google chrome or firefox, it looks so bizzard.
Please help to check out http://www.jazko.com and tell me if there is anywhere I can go to make this look normal again.
My front page setting would be slide on top , then four categories with block 16. That is all, with ads on top. Not a complicated setting.
Thank you.
Okay I checked to see if it was blocked by the server, it’s not. It’s returning 200, success. I have no errors in the console or in my php logs. It continue to say it saves successfully without actually saving.
I even opened all ports with no success. It was working fine until last Wednesday when we first noticed the problem. To my knowledge, nothing changed with our set up.
Hello jmisenti,
Sorry but the theme does not have any such an option that allows you to arrange the images from Grids, sorry! You can sort them from Block Settings according to available sorting type, like here -> https://www.screencast.com/t/YhfYvhnyT6z
Thanks for your understanding!
Hello dheerhuis,
Sorry but please notice that the only settings for block pagination could be found there, sorry!
Thanks.