- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
lol ok , i know how to do it using loop.php, but is there any way to do it in category module. For example for category page i am using td_module_2.php
++ i just want to do it for parent category pages and not for sub categories. Any help will be really appreciable as i already wasted my hours and default category templates of newspaper look so weird
SubCat1 Post 1 Post 2
SubCat2 Post 1 Post 2
SubCat3 Post 1 Post 2
loop.php
` if(is_category()){
$categories = get_the_category();
$catID = $categories[0]->category_parent;
$subcats = get_categories(‘child_of=’ . $catID);
foreach($subcats as $subcat) {
echo ‘<h3>’ . $subcat->cat_name . ‘</h3>’;
echo ‘<ul>’;
$subcat_posts = get_posts(‘cat=’ . $subcat->cat_ID);
foreach($subcat_posts as $subcat_post) {
$postID = $subcat_post->ID;
echo ‘<li>’;
echo ‘<a href=”‘ . get_permalink($postID) . ‘”>’;
echo get_the_title($postID);
echo ‘</a></li>’;
}
echo ‘</ul>’;
}
}`
-
This reply was modified 8 years by
Mayank Kapahi.
-
This reply was modified 8 years by
Mayank Kapahi.
-
This reply was modified 8 years by
Mayank Kapahi.
Hello, thanks for your answer, but what about the problem with the lightbox of the products? When you click on a photo of the gallery the lightbox doesn’t work…
Here is an example http://www.digitalbizmagazine.com/producto/the-next-big-thing/
Thank you!
Xana
Hello,
With the new multi-purpose elements, you can achieve that. You can create a landing page using the blank page template and create a blog page with the news elements from the td composer. Please check this short video presentation:
It creates an about me page but you get the general idea. You can use woocommerce elements within the page to make it a shop page and style is with the new elements available.
Thanks.
Hi,
The links will inherit the theme accent color set in the theme panel. If you could specify exactly which link colors you would like to change, I will try to give you a CSS solution.
For example if you are referring to links in the post content, something like this will work
– https://www.screencast.com/t/etyRqnM9
.td-post-content a {
color: yellow;
}
This code will apply to all links in the post content, for all posts, once entered in Theme panel->Custom CSS.
Minor customization can be made by using the browser inspector tool
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
This issue has not been mentioned before from what I know, or maybe given it’s rarity has not been detected.
There are other multi-purpose elements that you could try. Like the inline image element for example
– https://www.screencast.com/t/7VZkcBSWv
This element has a different functionality then the single image, so it could be a solution in this case.
Thanks
Hello,
1) Please check this list https://forum.tagdiv.com/theme-blocks-modules and then use the table to change the font for the module you want to change, In your case: https://www.screencast.com/t/ZooBl4JkTime
2) Simply place an ad in the article bottom ad and it will sow up in every post style except if you use a smart list. Smart lists ignore article ads.
3) Add this css in the theme panel;-> custom code section:
#reply-title{
font-weight:900;
}
4) If you want a separate ad specifically for post style 13, you can add it in the post file using a do_shortcode function here:
<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Maker sure you have and ad placed in custom_ad_1 in the them panel. You can add a separator with a simple hr tag. Here is an example:
https://www.screencast.com/t/85H3lfc5VAX
front-end: https://www.screencast.com/t/2bdgRXDT
Happy holidays!
Hi,
If you want to embed single videos on pages, you could simply paste the links in text elements, like this example for Facebook videos
– https://www.screencast.com/t/kxMw6GOl
– https://www.screencast.com/t/N206ALaIr
The same method will work for YouTube or Vimeo videos
– https://www.screencast.com/t/nT3pNQTdHTP
Thanks
Hello,
The benefits of the multi-purpose plugin are the new multi-purpose elements and settings of the theme that allow you to customize the theme and your pages in ways you could not on a news template. Please check this video: https://www.youtube.com/watch?v=Jf9-fsfwrp4&t=3s
These elements are only available if the multi-purpose plugin is enabled.
Thank you!
Hello,
If your ad code is new then it can take up to a few weeks days before the ad gets delivered. You can test the ad directly inside the post content and see if it renders any ad on the front-end. Your ad could require an extra implementation though. Please check with google and see if you need to add anything in the head tag in header.php. Page level ads for example require this implementation.
Thank you!
Hi,
That would be possible. You could create such a condition in the code, or you could try something easier. If you created the custom post type like this, using a post template
– https://forum.tagdiv.com/custom-post-type-support/
Then a CSS code like in this example should remove the author box for posts from the CPT
.single-td_book .author-box-wrap {
display: none;
}
The general setting in the theme panel will remove the author box for all the posts, a specific setting for custom post types does not exist at the moment. Please let me know if you need more help.
Thanks
Hi.
Your theme have a few Slider option ok.
But is not your sliders property as i wanted Slider option.
I wanted Slider options as bellow Slider;
When on Mouse over the number(don’t click), show up relevant post image automatic.
And when i sending my site a new post, this post is see automatically on this Slider a new number.
Numbered sliders include example sites;
http://halktv.com.tr/
https://www.sarizeybekhaber.com.tr/
After exploring a bit I found the code for category page is coming from td_module.php and loop.php
if (have_posts()) {
while ( have_posts() ) : the_post();
echo $td_template_layout->layout_open_element();
if (class_exists($td_module_class)) {
$td_mod = new $td_module_class($post);
echo $td_mod->render();
} else {
td_util::error(__FILE__, ‘Missing module: ‘ . $td_module_class);
}
echo $td_template_layout->layout_close_element();
$td_template_layout->layout_next();
endwhile; //end loop
echo $td_template_layout->close_all_tags();
Can you please provide any help in showing category page by order of subcategories seperately. Example
Category page:
Category Name
Subcategory Name 1- Posts of 1
Subcategory Name 2- Posts of 2
Subcategory Name 3- Posts of 3
And can you please tell where is a query for fetching categories and there posts?
http://qc.round.glass/blossom/category/make-them-eat-eat-n-grow/
-
This reply was modified 8 years by
Mayank Kapahi.
Thanks for you guidance – it was a rookie move on my part. It was a plugin that was causing that initial WP Editor issue. However, I have new problems.
I have disabled all plugins except for the tagDiv theme plugins. I completely removed the Newspaper theme and re-installed the Newspaper 8.5.1 update theme. The issues I am experiencing are below:
1. The left column editor in the tagDiv Composer appears to have a styling/display issue: http://take.ms/RF2ba
Actually, when I first installed Newspaper 8.0 – the left column had some spacing issues. It appeared to be cut-off a bit. But now it is worse in 8.5. The Layout dropdowns are missing and when I try to change I get invalid row change detected errors (as seen in the link example above).
2. When I updated to 8.5, I activated the tagDiv Multi-Purpose plugin. In the tutorial I see all kinds of new elements. I don’t see these in my Composer.
I need a lot of help!
Block Text with Custom Title nott showing in mobile
Here is what is says: [td_block_text_with_title custom_title=”Example”]
How do I fix this?
Hi,
its possible update newspaper version 6
quickly to last version? If the answer its no,
how can i download and upgrade the intermediate versions?
Need 7 & 8 files.
thanks
Hi,
The theme itself does not have any features for this, but I believe there could be plugins that you can try. Try some plugins from this list fro example and see which one has the options you need and works properly with the theme
– http://www.wpbeginner.com/plugins/best-wordpress-plugins-for-podcasters/
Thanks
Hi,
1. From what I can see that is the WordPress admin bar. The admin bar should not be displayed for visitors/users that are not logged in. If you made modifications to WordPress code, or installed a plugin to change this functionality, please remove it and the admin bar should be removed. Try deactivating all plugins except theme plugins and clear all caching. Check the results.
2. I don’t see any problem with the post content on the website, compared to the demo posts for example
– https://www.screencast.com/t/LcXjxaQXf
Please correct me if I misunderstand the issue.
Thanks
Hello morpheus94,
Unfortunately, please keep in mind that there is talking about two different theme’s layouts, sorry! First of all, the width of our theme is smaller than what you want to do like in that example and that thing cannot be changed very easy. Please check our documentation before starting a new project -> https://forum.tagdiv.com/header-ads-adsense/
Thanks for your understanding!
Hello blamprou,
Please update the theme to the latest version of it which is 8.5.1, clear all the caches and remove all of the untested plugins which can interact with the theme core files and causes a lot of problems with the theme. -> https://www.screencast.com/t/eokp0hQG
Thanks for the message!
Hello stephane.roy,
I have tested on my side the Unique Articles on pages and everything seems to work as expected, without any problems. For example, I have added two blocks filtered by different categories and it did not saw duplicate posts. Try to save all of these settings and check the results. If the problem is still there, please provide some useful screenshots with this problem and also, provide your website URL.
Thanks for your understanding!
Hi Team,
I really love your theme & i was planning to install the buesiness theme for my blog, but was nt able to do it.
It is really pissing me off to set the home page. Can you guys help me to do the complete setup if possible?
Yu Can contact me: geeksnipper @ Gmail . com
Hello,
This effect can be seen because of your slow page speed. Css works in cascades and if you have a low page speed, you will be able to see every rewrite of the css happening.
Please check with google page speed: https://developers.google.com/speed/pagespeed/insights/?hl=ro&url=http%3A%2F%2Fwww.uroblog.it&tab=desktop
Use this guide to increase your page speed: https://forum.tagdiv.com/how-to-make-the-site-faster/
As a note on speedbooster: https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
Thank you!
Thanks Simion for quick response. I have raised this issue with “AMP for WP” team and i think they have some solution to help me out.
Hi,
You could simply unminify the files if that is needed, there are online tools that can do this. Like this one for example
– http://unminify.com/
Thanks
Good theme with lots of options but I seem to have a problem when creating a homepage as a “page” instead of a blog listing. As a news site, we use bylines of many different writers who provide copy through syndications or wire services we subscribe to. The articles are posted via a “CHB” account and then we apply the correct bylines of writers using the “byline” plug-in. If we use the “blog” home page from recent posts, the “byline” names appear properly but when we create a new home page using TD Composer, the bylines are lost and the “CHB” line appears instead as the writer who created the article. This didn’t happen with the WP Bakery VC Composer but we are like the TD Composer and are using it to create our home page. The bylines appear find on the category archive page listings and the post template but not on the articles and excerpt used one the home page.
Example: Here is the latest homepage: https://www.capitolhillblue.com As you can see the lead article in the biggrid list at the top lists “CHB’ as the author because the article uses that ID and not the “byline” that is supposed to appear.
Second Example: https://www.capitolhillblue.com/node/69693 This is an article that appears from the link on the home page. The correct byline is listed in it.
Third Example: https://www.capitolhillblue.com/node/category/congress This is an archive page. The correct “bylines” appear in the BigGrid on the top of the page and also on most recent articles listed under it.
Is there a coding that can correct the listing on the home page?