Please for SEO purpose in your theme element for Table of contents could you add “p” or “Div” just for Title tag (SEO) (Hs is the only choices)
Also please add the code around to make it compatible with schemas
<nav class="table-of-contents" itemscope="" itemtype="https://schema.org/TableOfContents"></nav>
Thanks
Great thank you.
Hi, Plugins are just working for the first post but not with the autoloading for the other posts. Indeed this variable is added by default between url and anchor:
YOUR-URL-ANCHOR?tdb_action=tdb_ajax#11-blabla
Could be good to have a fix thanks.
Hi, Plugins are just working for the first post but not with the autoloading for the other posts. Indeed your variable is added by default between url and anchor:
YOUR-URL-ANCHOR?tdb_action=tdb_ajax#11-blabla
It will be good to have a fix.
Best,
Hi Vlad, Thanks
I sent everything.
Have a good day!
Thank you for your reply,
Yes I tested on preprod without any plugin except the ones to make the theme work and the problem is still the same. There is a problem with the autoloading behavior (css or js) with this kind of full stretch template https://cloud.tagdiv.com/entertainment-buzz-taylor-swift-gets-an-emmy-award-on-her-25-year-old-birthday/?edit_url=null
-
This reply was modified 5 years by
fgrenier.
Hi Guys,
I confirm Instragram photos are not refreshing,
Please let me know
Same for me, please let me know,
I also set up a new YouTube API Key just in case but still the same.
Please let me know How you resolved this issue
Same problem here, please could you fix the issue asap as we will go live within 2 weeks and we have a lot of custom templates and others functions coming from the child theme,
Best regards!
-
This reply was modified 7 years by
fgrenier.
Hi Simion,
Yes I want to use it from the theme child or plugins though.
Thanks to you I found this solution working within a plugin you have to put in your td-bespoke-plugin.php:
add_action('widgets_init', function() {
return register_widget(new td_block_widget( 'td_block_bespoke' ));
});
-
This reply was modified 7 years by
fgrenier.
Excellent thanks a lot Calin đ
Hi, nothing new on this Lucian?
Hi Radu,
Yes this works as I’m using it of all our websites, $args[‘post__not_in’] is one of the parameter for post and pages to http://codex.wordpress.org/Class_Reference/WP_Query
Basically I normally have one main function I use througout our sites where I pass all the parameter I need, in this case I get all the post id in a global variable from wquery then when another call is done for another component I exclude those Ids
The thing is with your theme I don’t know where all the things are and as I saw quickly you are not using a same function to fetch stuff with WPQuery.
This kind of might help you :
function sowGetPosts($options = array()) {
$args = array();
foreach ($options as $key => $value)
{
$key = strtoupper($key);
$$key = $value;
}
if (!empty($EXCLUDE)) {
$EXCLUDE_ID = array();
foreach ($EXCLUDE as $post) {
$EXCLUDE_ID[] = $post->ID;
}
$args['post__not_in'] = $EXCLUDE_ID;
}
if (isset($FROMCATEGORY)) {
$cat = get_the_category();
if (!empty($cat)) {
$args['cat'] = $cat[0]->cat_ID;
}
}
$args['showposts'] = isset($LIMIT) ? $LIMIT : 5;
$custom_query = new WP_Query($args);
...... and so on
// If no articles get me the last 10
if(!$custom_query->post_count) {
sowGetPosts(array('EXCLUDE' => isset($posts) ? $posts : '',
'TITLE' => 'Latest Articles',
'LIMIT' => 10));
}
unset($custom_query);
wp_reset_query();
}
Then I can use it eveywhere
sowGetPosts(array('FROMCATEGORY' => true,
'EXCLUDE' => $wp_query->posts,
... and so on
));
-
This reply was modified 12 years by
fgrenier.
Hello Marius, yes I know this solution but the thing is it’s not so easy for us as we have lots of bespoke custom post fields/type which are tighly coupled to other things and the import/export function can’t handle this. And just to let you know last time I tried the export stuff for our currents posts/pages its generated more than 70 xml files and it’s difficult to check (just for that) that everything went fine.
