- 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
Thanks
That fixed some of the problems. I still get these errors
[td_slide_big limit=”8″]
[td_block2 limit=”6″ custom_title=”DON’T MISS” ajax_pagination=”next_prev”][td_block1 limit=”5″ header_color=”#f65261″ custom_title=”TECH AND GADGETS” ajax_pagination=”next_prev”][td_ad_box spot_id=”custom_ad_1″][td_block2 limit=”6″ custom_title=”TRAVEL GUIDES” ajax_pagination=”next_prev” header_color=”#82b440″]
[td_block2 limit=”6″ custom_title=”FASHION AND TRENDS” ajax_pagination=”next_prev” header_color=”#ff3e9f”]
[td_ad_box spot_id=”custom_ad_1″]
[td_ad_box spot_id=”custom_ad_1″]
Thanks
Hello i have used Newspaper for over 12 months on my main website policehour.co.uk.
for the first 11 months my images have been perfectly seized on the website and within the article page, now they seem messy and dont completely fill the image box.
somtimes they dont stay to the space they have been requested to be sized at and often take up the the full of the webpage like in this link http://policehour.co.uk/2015/07/update-body-found-in-search-for-missing-7-year-old-conley-thompson/
All the article images should and did appear for 11 months like this http://policehour.co.uk/2015/07/55-year-old-gunned-down-in-salford/
Even the blocks on the home page the images do not fit the box.
the problem seems to have occurred when we upgraded to system 6, we have noticed the section for blocks under the theme panel however it is not making a difference,
We previously to get all the images working the first time used a plugin called regthumbnails which allowed all the images to display and upload to the same size, we have attempted to do that again, but it has not worked,
does anyone have any advice.
How can i change the look of block titles to the same as this site?
Instead of that small blocks?
Hi, I am trying to create a text block or raw html on VC with the background transparent like the categories style 6 template https://forum.tagdiv.com/wp-content/uploads/2015/05/2015-06-15_16-44-07.png but i am failing (my css skills are almost zero), I will pay 15$ by paypal if someone can create the page and export it.
Some css expert is able to do that?
Cheers!!
Hi Lucian/team
Thanks for this answer. I’ve been busy re-categorising 800 posts! 🙂 and hope to soon operate a staging site and make the move to Newspaper6.
It’s important that I run EventOn and Estatik plugins, event calendar and real estate listings, just wondered if you had a view as to if they’re ok with the theme?
plus very importantly – I’m doing well with ad revenue – with sidebar ads, is it a maximum of 5? Or can you simply use the ad widget multiple times? If not will the theme support AdRotate shortcakes in widgets for rotating block ads?
Thank you for all your help – I’m sure a few more questions will be along soon!
Pat
Is there a way to select which portion of the grid you want a story to appear in? (We are using Big Grid 3) Right now it seems that the latest post will default to the primary location if you select it as a featured story. There are times that I want specific stories in specific areas of the grid, or I want to keep the lead story in the main block while adding new content in the smaller sections of the grid. The same goes for other blocks – I may want to keep one story up top while newer posts go farther down.
I sure hope there is a way to make this happen. Please let me know.
A few more edits to the menu and read more buttons
1. In Megamenu subcategory list
I’d like to show ALL articles under the parent category, but in the list along the bottom, I’d like to show only the first level of subcategories. Can you please tell me how to remove the second level subcategories. (there was a solution posted for Newspaper theme, but it doesnt seem to be the same structure)
2. Mega menu widget area
In some of the show case sites, there is a text area in the mega menu, rather than the featured images and horizontal list of subcategories. Can you tell me if this is a substantial customisation or is it within the mega menu settings?
3. Read more button as text
I’d like to have the Read more button be a simple text link. can you tell me how to remove the button style and have it appear a coloured text rather than a block button?
Great experience with the theme and support so far!
Thanks in advance,
C
Hi
The author box block from Visual Composer can be used on post like a widget in sidebar or footer area. Also you can use the shortcode to insert it in post content like here: http://screencast.com/t/yJZKlrt1f5
To get the shortcode create a blank page, add the author box and set it as you want, then switch in backend editor, copy this code: http://screencast.com/t/OPqNgAyGm and insert it in post.
Hope this will help!
Hi,
Yes, the top menu bar isn’t deigned to work on mobiles devices and it’s hidden you can change that using custom css and set the top menu to display but please note that it may need additional customizations.
You can use this custom css: http://screencast.com/t/wVe7cHrc
@media (max-width: 767px) {
.td-header-top-menu-full {
display: block;
}
}
Thanks
Hi
The theme doesn’t have an option to create a block for each category, you will have to add it manually in Visual Composer and select the category you want to be displayed in that block from category filter: http://screencast.com/t/5rEX7OVPK
Thanks!
I don’t think I explained myself properly.
I cannot control excerpts from Theme Panel because unfortunately for the last few years I have been writing excerpts via the WordPress facility. Now I have discovered that they are too long for this theme, as you can see in this screenshot: http://screencast.com/t/cMu09dXshzH.
I need a way to automatically shorten my excerpts on the homepage. I have recreated your default demo so I am using quite a lot of blocks. My problem is where to add the code.
I had the same problem in the categories page but I added this code to M16 and it resolved the issue:
<div class=”td-excerpt”>
<?php echo wp_trim_words(get_the_excerpt(), 30); ?>
</div>
Thanks in advance!
Hi,
1. I’ve added your suggestion on our list, if more people will request this we will implement it. We have a lot of features on the list and we have to chose carefully which one is implemented next.
2. You mean to add an option on blocks which allows to manually select a list of posts? something like this can be achieved with the current system, just add a certain tag on the desired posts and use the tag filter to display those posts – http://screencast.com/t/m5kdWbtzd8lv
We plan to add more futures to the block settings area in a future update, we may extend the filters and sort options.
Thank you!
Hi,
The theme blocks are built to work with categories, it may be possible to modify them to display rss data but it’s not an easy task. My advice is to look for a professional developer to help you with this task.
I’ve added your suggestion on our list, if more people will request this we will implement it.
Thank you!
Hi!
As you can see on the image attached, I wish to change the block that I am using (Block 18). My customer wants to see a small excerpt of the new under the title on the mfirst new. Is that a way to do that? How?
Thanks in advance!
Hi,
In Newspaper you can control the excerpts from Theme Panel -> Excerpts – http://screencast.com/t/9O2FJ3ClC
If you use the default blog page and the articles are displayed in full you can change this behavior from Theme Panel -> Template settings – by setting another module for the Blog page – http://screencast.com/t/ORIwhn8Zk
Or you could create a custom page using the desired blocks and set it as a homepage from Settings -> Reading – http://screencast.com/t/mLFL3gl9uq
Thank you!
Hi,
You have to create a condition like this: – http://screencast.com/t/V9KL3CxHtRE – the condition can be added on the other ad lines(depending on which one you want to disable) – http://screencast.com/t/WH8vXMkQk – http://pastebin.com/dKCv4qVU
$td_post_settings = get_post_meta($this->post->ID, 'td_post_theme_settings', true);
$display_ad = 0;
if(!empty($td_post_settings['td_post_template'])){
if($td_post_settings['td_post_template'] == "single_template_11"){
$display_ad = 1;
}
}
//add the top ad
if (td_util::is_ad_spot_enabled('content_top') and is_single() and ($display_ad == 0)) {
$content = td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_top')) . $content;
}
Thank you!
-
This reply was modified 11 years by
Emil G.
Hi,
I believe you refer to the tag filter: http://screencast.com/t/QakbKhHBjUy that filter option use tags to filter posts so if a post has a tag you add in that filed it will be added to the blocks query.
EX:
http://screencast.com/t/LTaBgWAv
http://screencast.com/t/6rdLHHvHY
http://screencast.com/t/yZ5eVqQ2J
I’ve tested this and it dose work just for posts (post type) not for CPT.
Thanks for the message!
Hi,
You mean to change the category used on that section? the theme doesn’t have such an option, you have to make modifications on the code. The function which controls this section is located here – http://screencast.com/t/o6ZBNm0TY – the block used on this area is located here – http://screencast.com/t/n0uEBtVShuAO – Those are not easy modifications, my advice is to hire a professional to help you with this task.
Thank you!
Hi,
1/2/3 Unfortunately these theme features are built to work just with posts not pages and to make them support and use pages you need to customize the theme and practically rebuild the function for related articles or socials.
Currently we’re working on adding custom post types support for blocks so once this support will be implemented pages could also be used as CPT like you need them now. Sorry!
a) That section is set with css to have a maximum width of 252px, you can rewrite tat rule using this css: http://screencast.com/t/iQh6wzCx9M
.block-mega-child-cats {
max-height: 500px;
}
Add it in theme panel > custom css section.
b) Unfortunately not because the load more/infinite or next/prev pagination only works on blocks and it can’t be used on loops. Sorry!
c) If you can’t find it in trash to restore it: http://screencast.com/t/icNXEwjZ8rH you can rebuild it and use this content, it’s the demo contact page content: http://pastebin.com/eTt6WVNS – http://demo.tagdiv.com/newspaper/contact/
d) I see you have adjusted the category to use pages so the excerpt function may also need to be adjusted to return page content, I’m not sure but you can take a look at it here: http://screencast.com/t/FKJMzRKrKWpn
Hope this helps!
Sorry for the delay!
Thanks for the message!
Thanks for the reply.. i found the following information from the plugin author …
Add related posts automatically after the post content by using a code snippet in your (child) theme’s functions.php file
add_filter( ‘the_content’, ‘add_related_posts_after_post_content’ );
function add_related_posts_after_post_content( $content ) {//check if it’s a single post page.
if ( is_single() ) {// check if we’re inside the main loop
if ( in_the_loop() && is_main_query() ) {// add your own attributes here (between the brackets [ … ])
$shortcode = ‘[related_posts_by_tax posts_per_page=”4″]’;// add the shortcode after the content
$content = $content . $shortcode;
}
}return $content;
}
in our theme,can we put the code in the function.php directly ??
Hello,
we received an email about the necessary implementation of user consent about cookie policy.
Will you implement a solution that would be responsive and advise visitors of the usage of cookies (Adsense, etc.)?
Here is the email:
Dear Publisher,
We want to let you know about a new policy about obtaining EU end-users’ consent that reflects regulatory and best practice guidance. It clarifies your duty to obtain end-user consent when you use products like Google AdSense, DoubleClick for Publishers, and DoubleClick Ad Exchange.
Please review our new EU user consent policy as soon as possible. This requires that you obtain EU end users’ consent to the storing and accessing of cookies and other information, and to the data collection, sharing, and usage that takes place when you use Google products. It does not affect any provisions on data ownership in your contract.
Please ensure that you comply with this policy as soon as possible, and not later than 30th September 2015.
If your site or app does not have a compliant consent mechanism, you should implement one now. To make this process easier for you, we have compiled some helpful resources at cookiechoices.org.
This policy change is being made in response to best practice and regulatory requirements issued by the European data protection authorities. These requirements are reflected in changes recently made on Google’s own websites.
Thank you in advance for your understanding and cooperation.
Regards,
The Google Policy Team
Hi we like your themes but experiencing some difficulties..
We are upgrading our site from magazinely to newspaper (just bought it).
Just FYI – as i’m sure you know, magazinely used to have the visual composer built into the theme.
We have installed all according to instructions and this is the error we are receive:
Fatal error: Cannot redeclare visual_composer() (previously declared in /home/justaguy/androidnewbies.com/wp-content/plugins/js_composer/include/helpers/helpers_factory.php:25) in /home/justaguy/androidnewbies.com/wp-content/themes/AndroidNebies/wpbakery/js_composer/composer/lib/helpers.php on line 12
Please let us know what to do.
Thanks!
Hi,
I am unable to find that where I can remove these stories which is coming on my home page.

I haven’t added this block on my static home page Here : Pages >> Home – Front Page
But still from where it is coming I don’t know.
My website is http://www.hootex.com/
Kindly Help , It’s irritating me
Thanks
Hi,
I want to get RSS from other sites (that I also own) but to use Newspapper’s modules and blocks, so the design is consistent.
Thanks,
Jose Carlos.

