- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Hello.
I have spent the past days trying to find a way to be able to filter my posts based upon category and custom taxonomy.
Since tagdiv sadly doesn’t support custom taxonomy filtering, I was hoping that adjusting a block might do the trick.
is it possible to perhaps make 26 copies of block 10 and module 10 (doable with the api plugin example on your site https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/)
for instance block 10 A, block 10 B,.. to make an alphabetical index ?
I’d then adjust the post loop to only include posts from that taxonomy, whereas the filter in the tagdiv composer could then be set to the different categories (movies, music etc).
could you tell me if this is doable and where this query can be adjusted ?
I’ve followed literally all links you post in the replies stating have a look here, but they are always outdated or incomplete as an answer.
this is the loop argument that I’d like to include in the blocks:
$args = array(
'post_type' => 'post',
'posts_per_page' => '-1',
'meta_key' => 'keyword',
'orderby' => 'meta_value',
'order' => 'ASC',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'alphabetical_letter',
'field' => 'term_id',
'terms' => array( '441' ), //this is by slug
),
array(
'taxonomy' => 'category',
'field' => 'slug',
'terms' => array( 'muziek-recensies' ), //this is by id
),
),
);
// The Query
query_posts( $args );
// The Loop
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();
as you see there is a new ad type for adsense: auto ads for amp”. But when want to add this ads it says to add a script code to amp page header. how can we add this code?
Hello;
I am getting a recurring meta description issue in the categories due to the pagination system. for example
“/guncel-haberler/page/3/”
“/guncel-haberler/page/4/”
the meta description on both pages looks the same.
Yoast Seo installed
What can I do?
Hello Bogdan,
Thanks for your answer!
However, after updating everything I could possibly update (theme & plugins), I’m still facing the exact same problems:
– My Facebook fans count is still at 0 and the social counter plugin doesn’t recognize my Facebook ID (when I click on the facebook button, I get an error page)
– Instagram is still blocked at 83 followers on the social count plugin, and the footer Instagram tool doesn’t show any picture anymore. But when I click on the Instagram button, it does show my profile.
– Twitter works fine now, which is weird because it’s the only one that was affected by the update.
Please check: http://www.misteur-mercato.fr
Thanks a lot for your help
Alex
Hey guys,
1) I’ve recently installed the Raw & Wild demo theme, however, when I try to edit in TD Composer I keep getting a red notification at the top of the screen that reads “invalid data.” I’ve tried removing images to add in my own images to make the website my own, however, no matter what I do, it never loads and I get the “invalid data” notification. I was under the impression that we are able to edit demo pages and quickly turn them into our own. Is that not the case?
2) Also, regarding the Raw & Wild demo page, I love the full width picture of the tiger on the home page as well as the four columns (wild horses, lion reserve, monkey business, elk river) underneath it. Is there a way to find out what blocks those are? I’ve looked in the backend editor but it’s all just HTML text and doesn’t show what blocks were used to create those sections on the home page.
I look forward to your reply.
Justin
I’ve looked everywhere and can’t seem to find a setting for the titles on the widgets.. On my sidebar I’ve got a “red line” where I thought the title should appear. When I look at all of your demos they have the widget title. So I’m thinking I changed a font to white somewhere? But where???
example… https://paintbrushzone.com/stretching-watercolor-paper/paper/
Thanks… I’m getting bleary-eyed.
Hi,
i updated plugin & theme but still the values of the social media is not correct. Do i have to do something else to have the right value ?
Please add me too here for AMP Auto Add implementation feature.
I just implemented AMP and quick question about these two topics.
1, I did a custom code to show that last updated date instead of the post created date. The tagDiv AMP Plugin is showing the created date on AMP pages. Is there any plan to implement this feature to display updated date on both Desktop and AMP pages?
2, How to implement AMP auto adds on the AMP page? (that required to add two pieces of code between header and body). Any dedicated header text area on Theme panel?
I know that custom taxonomies are (currently) not a supported filter in the tagdiv page composer. Sadly for my client this function has become quite a turning point and a critical one that I really need to solve if I wish to deliver a working finished website.
So, following a couple of suggestions on here that it might be possible, I started looking into this, only to reach partial success.
As far as I know, this custom build will be overwritten with any new update so I know that if I get this working I need to reprogram this.
So, here’s what I got so far.
The filtering is defined in the td_config file, and I have based my trials upon the category function.
(basically copying it and adjusting it to what I thought/think should work)
I have copied and then altered this code:
array(
"param_name" => "category_id",
"type" => "dropdown",
"value" => td_util::get_category2id_array(),
"heading" => 'Category filter:',
"description" => "A single category filter. If you want to filter multiple categories, use the 'Multiple categories filter' and leave this to default",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => $group
),
into this code
array(
"param_name" => "taxonomy_id",
"type" => "dropdown",
"value" => td_util::get_taxonomy2id_array(),
"heading" => 'ABC filter:',
"description" => "A single category filter. If you want to filter multiple categories, use the 'Multiple categories filter' and leave this to default",
"holder" => "div",
"class" => "tdc-dropdown-big",
'group' => $group
),
this breaks the website.
I keep seeing td_util::get_category2id_array so I am guessing (correct me if I am wrong) that this refers to the file found in wp booster folder “td_util.php”.
In that file I found indeed the get_category2id array arguments so I performed the same trick again.
Turning this code
/**
* generates a category tree, only on /wp_admin/, uses a buffer
* @param bool $add_all_category = if true ads - All categories - at the begining of the list (used for dropdowns)
* @return array
*/
private static $td_category2id_array_walker_buffer = array();
static function get_category2id_array($add_all_category = true) {
if (is_admin() === false) {
return array();
}
if (empty(self::$td_category2id_array_walker_buffer)) {
$categories = get_categories(array(
'hide_empty' => 0,
'number' => 1500
));
$td_category2id_array_walker = new td_category2id_array_walker;
$td_category2id_array_walker->walk($categories, 4);
self::$td_category2id_array_walker_buffer = $td_category2id_array_walker->td_array_buffer;
}
if ($add_all_category === true) {
$categories_buffer['- All categories -'] = '';
return array_merge(
$categories_buffer,
self::$td_category2id_array_walker_buffer
);
} else {
return self::$td_category2id_array_walker_buffer;
}
}
into this
/**
* generates a taxonomy tree, only on /wp_admin/, uses a buffer
* @param bool $add_all_taxonomy = if true ads - All taxonomies - at the begining of the list (used for dropdowns)
* @return array
*/
private static $td_taxonomy2id_array_walker_buffer = array();
static function get_taxonomy2id_array($add_all_taxonomy = true) {
if (is_admin() === false) {
return array();
}
if (empty(self::$td_taxonomy2id_array_walker_buffer)) {
$taxonomys = get_taxonomys(array(
'hide_empty' => 0,
'number' => 1500
));
$td_taxonomy2id_array_walker = new td_taxonomy2id_array_walker;
$td_taxonomy2id_array_walker->walk($taxonomies, 4);
self::$td_taxonomy2id_array_walker_buffer = $td_taxonomy2id_array_walker->td_array_buffer;
}
if ($add_all_taxonomy === true) {
$taxonomies_buffer['- All taxonomies -'] = '';
return array_merge(
$taxonomies_buffer,
self::$td_taxonomy2id_array_walker_buffer
);
} else {
return self::$td_taxonomy2id_array_walker_buffer;
}
}
and a bit further down this
class td_category2id_array_walker extends Walker {
var $tree_type = 'category';
var $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
var $td_array_buffer = array();
function start_lvl( &$output, $depth = 0, $args = array() ) {
}
function end_lvl( &$output, $depth = 0, $args = array() ) {
}
function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
$this->td_array_buffer[str_repeat(' - ', $depth) . $category->name . ' - [ id: ' . $category->term_id . ' ]' ] = $category->term_id;
}
function end_el( &$output, $page, $depth = 0, $args = array() ) {
}
}
into this
class td_taxonomy2id_array_walker extends Walker {
var $tree_type = 'taxonomy';
var $db_fields = array ('parent' => 'parent', 'id' => 'term_id');
var $td_array_buffer = array();
function start_lvl( &$output, $depth = 0, $args = array() ) {
}
function end_lvl( &$output, $depth = 0, $args = array() ) {
}
function start_el( &$output, $taxonomy, $depth = 0, $args = array(), $id = 0 ) {
$this->td_array_buffer[str_repeat(' - ', $depth) . $taxonomy->name . ' - [ id: ' . $taxonomy->term_id . ' ]' ] = $taxonomy->term_id;
}
function end_el( &$output, $page, $depth = 0, $args = array() ) {
}
}
Alas to no avail.
I know you guys don’t support the taxonomies in the tagdiv (why I don’t know) and that you simply dont have time to do this kind of custom builds, but could you help me out on this one.
What am I doing wrong or is this really the complete wrong way to try to achieve what I want ?
once again, the custom taxonomy that I have made is called “alphabetical letter”.
Hello,
I have two problems with my site:
1) The mobile menu / burger icon is not working. When I click on the menu on my iPhone the menu does not open. Same for the search icon.
2) I can no more change the DTP text color for main menu active & hover. Color does not change anymore.
I think I have booth problems since yesterday. They were not bevore, color and mobile menu has worked fine. The only thing I changed yesterday was that I created the hompeage with your page builder and that I have switched to sticky menu. And yes I know that it has sepaerate settings for sticky menu but this does nothing change.
What I have done:
Switched back to normal menu
Reinstalled the theme
deactivated all plugins
deactivated Cloudflare cache/minification
I have no caching plugin installed at the moment.
But nothing has worked.
Can you please help me with this? I can send you the URL in a private message…
Thanks,
Florian
Hello,
I have several questions related to issues I have with images.
1) I notice that images that I upload are sized differently to scale in different elements. For example, on my homepage for collabhype.com, the images in the features articles are sized to scale differently from the posts below. Is there a way to change this or make sure it’s always consistent so images don’t get cut off?
2) For the tagdivslider image gallery, all the images I upload get scaled differently and get cut off. For example, https://collabhype.com/uniqlo-x-disney-illuminates-mickey-and-the-sun/, the images in the gallery are cut off. Is there a way to change this? Or do you recommend an alternative image gallery?
3) Images within my articles posts don’t seem to load right away until I reload the page. For example, https://collabhype.com/mexico-66-x-disney-polka-dots/. What is the reason?
4) When I embed an Instagram post like in this article, https://collabhype.com/kid-dangerous-x-native-son-empowers-pride/, the image is huge. Is there an easy way to resize this? Similarly for the tagdivslider image galleries. Is there a way to make these smaller or use an alternative with more options?
Thanks,
Matt
Found the problem. TD Composer left behind empty pieces of code when I deleted different elements/rows. I was in a rush to move my equipment out of the rain (working outside) and forgot to screenshot. Very Generic example:
[td_block_text_with_title tdc_css=""""]
The empty deprecated pieces of code are only visible in the normal WordPress Page editor. The text tab is better to find them, look for double html quotes "". I deleted two rows of data, saved, cleared caches (just because), and site is working again.
I’ll have to re-do those two rows, but it’s better than a “Fatal Error” and at least I know where to start troubleshooting if the error comes up again.
This is for anyone who has or may have a “Fatal Error” problem in the future.
Hello,
I want to change my footer but don’t no, where to change?
Help me!
EDITOR PICKS, POPULAR POSTS, & POPULAR CATEGORY? Where is this section?
Thanks! Rohit S
Hi there,
I’d like to insert custom ads into blocks and looking for help (ex. after 3.rd news). How can i manage to do that? I searched a lot but couldn’t find any example.
Thx.
Hello
With the new updates, the buttons have a really nice looks.
For example:
https://www.virtualmagie.com/contact/annoncer-sur-virtualmagie-com/
But the problem is the other buttons on the site look very cheap in regards.
Some example with the contact form:
https://www.virtualmagie.com/contact/
or the shop:
https://www.virtualmagie.com/boutique/livres-de-magie-papier/en-route-john-guastaferro-francais/
Before you add this in a new update, could you please provide some CSS code transform all other buttons on the same look like the big round one?
Thanks
I can’t find how to choose/create a widget and be able to place several links to outside pages/websites with the link to open in a new tab so that once it closes user is returned to my website.
Example:
Widget Title: Resources
Links:
Link 1 “open link in a new tab”
Link 2 same
Link 3
Thank you.
I have Newspaper, V 8.8.2 and the Travel Blog
Site
Recently we updated to newspaper 8.8 and everywhere that we’ve used the “single image” module in wpbakery is now not working. It is filling the module with the image as a background image instead of letting us define the image size.
You can see multiple examples on our site, but here is a page with two modules (the logo and the bottom photo)
Hi,
Unfortunately, the theme has not been designed for this case, sorry! Also, you can try adding the following code in footer.php in amp core files, like this ->
https://www.screencast.com/t/hKKPDGHgw
$buffy .= td_sanitize_image(stripcslashes($td_footer_text) );
The result is here -> https://www.screencast.com/t/zQt2HlMObMR
Thanks.
Hi,
That would be the same post page basically, not a different URL to be tracked. Using post pagination where available would also not count as page as another view starting from page 2 for example. The main post page would be the only one that adds a view to the count.
Hello,
1)Your theme looks different on mobile than desktop as layout because I noticed that you are using the Mobile Theme version. If you want to revert to the desktop layout, you should simply disable the Mobile Theme plugin and the theme will be automatically switched to the general responsive mode. For more information, please check the following documentation from here -> https://forum.tagdiv.com/the-mobile-theme/
2)Please notice that we do not have a specific resolution for our image used on the demos. We recommend using minimum HD images as quality if you want to achieve better and accurate results. For example, in our demo, we have used the following image for background -> https://www.screencast.com/t/NRrKw7uNLeSg
Thanks for your understanding!
That will be possible with the flex blocks. Example
– https://www.screencast.com/t/q0RepeuP
These blocks and the modules they use are highly customizable, almost anything about the module can be modified. Thumbnails, puddings, margins, modules per row, fonts etc.
Hi,
The number of followers would not be an issue, some examples
– https://www.screencast.com/t/4KH7FeCsZS
– https://www.screencast.com/t/kkRadHpkY
We plan to update the social guide, indeed now the Facebook counter requires only the ID to be entered. The ID you mentioned it does not work for you, works in my test.
If you tried with the ID you need and no values are displayed, we could take a look at this. Send us an email at contact@tagdiv.com and provide admin access. Include a link tot his topic in the email.
Thanks
I have very important navigation elements on top navigation. But on mobiles top navigation is disabled. How can I enable the top navigation on mobiles.
My site: govtjobmela.com
Thanks & Regards
I recently upgraded Newspaper 6 to Newspaper 8 and I am noticing that the Custom Links in all VC Single Image modules cease to render and ignore any parameters entered into custom_link field. The hyperlink is replaced with only a single hashmark and the field is ignored. I have attempted to edit the raw text as well as using the WPBakery Page Builder and the fields are saved and editable but ignored when rendered in both. I have also attempted to manually use the parameter “link” as well as “img_link” by editing the raw shortcode in the build-in WordPress editor in Text mode and it also fails to render.
Here is an example of the raw shortcode text using the build-in WordPress view to show the raw code that I am attempting:
[vc_single_image image="14780" img_size="full" onclick="custom_link" img_link="/breast-health/" el_id="breast-health-link" link="/breast-health/"]
And here is how the VC Single Image is rendered in the DOM:
<a class="td_single_image_bg" style="background-image: url('https://[REDACTED IMAGE URL HERE].jpg'); background-size: cover; background-repeat: no-repeat; background-position: center center;" href="#" rel="bookmark"></a>
You can see that neither the href field is being populated from the link or img_link field, nor the id field from the el_id field is being rendered.
These fields works perfectly fine in Newspaper 6, but not on the upgraded Newspaper 8.8.2. I have attempted to render this in a child theme of Newspaper 8 as well as the native Newspaper 8 theme and both fail. The plugin versions in use are
- WPBakery Page Builder 5.5.1
- td-api-plugin 1.0.2
- tagDiv Speed Booster 4.9.1
- tagDiv Social Counter 4.4
- tagDiv Composer 2.3
- tagDiv Books custom post types sample 1.0
- Slider Revolution 5.4.8
Hopefully someone can point me in the right direction to fix this.
Thanks.