- 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
Hi everyone,
I would like to hide the name of the writer of the articles on the frontpage. How can I do it?
If it is not possible, how can I do to make all the journalist’s names appear as ‘newsroom’? Every journalist has one user account.
And I also would like to write an alternative writer name in some other articles, for example, in case of our newsroom edits a contributor’s article. Is it possible?
Thanks!!!
Hello westcan,
Sorry, please notice that our theme does not have any such an option that allows you to add this functionality from TD Composer. You should use the shortcodes generated from this plugin and add them to a column text for example. Please check here -> https://codex.bbpress.org/features/ -> https://www.screencast.com/t/NhzfvXwIcq3t
Hope this helps!
Thanks for your understanding!
Ehm, No…it’s a theme’s function not an external plugin. I even copied here the code in the template’s core file (https://www.screencast.com/t/3qKH5ORt74)
$buffy .= '<meta itemprop="ratingValue" content = "' . td_review::calculate_total_stars($this->td_review) . '">';
That code is generating this (example screenshots):


Code in the article (as you can see it is generated by the theme):
<span class="td-page-meta" itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating"><meta itemprop="worstRating" content="1"><meta itemprop="bestRating" content="10"><meta itemprop="ratingValue" content="3.3">
So the problem isn’t mine, but the code is wrong. Here’s an explaination of what ratingValue is “The rating the reviewer gave” (source: https://yoast.com/rich-snippets-product-listings/). Well, right now the ratingValue doesn’t rappresent my vote, but the number of stars that i’m not even using (I’m using Point vote, not Stars).
Hi, I installed the AMP plugin provided with the theme, on my website http://www.ecomesifa.it, but it does not work, the pages are always opened with the normal template and never in amp. How can I solve? Thank you
Hello,
here the results.
The right Breadcrumb I want for this example is:
Home -> Rivista -> Produrre -> La madre di tutti i beni
With option off: http://www.screencast.com/t/FmFqQur9
With option on: http://www.screencast.com/t/rQn1tjeS4F
I don’t find the right breadcrumb in each situation.
So, what can I modify?
-
This reply was modified 8 years by
Caronte.
Hello.
But this is the default implementation of the theme if the option is active.
You want to show the full path to your post. Home->cat->subcat->post
here is an example of a post added to the new look sub-cat which is a sub of the fashion cat. The full path is shown: https://www.screencast.com/t/uiXQCB8jIq8b
If I disable the option I mentioned above, https://www.screencast.com/t/ANKziP4rBt
The option does exactly as you describe and need.
Thanks.
Hello macitynet,
SOrry but the theme does not have any child AMP template, sorry! I do not know what exactly you want to do and what kind of customization you want.
Thanks.
Hello,
Our theme does not have any such ad spot. However, you can place an ad on a specific post template using a do_shortcode functions to call one of the ads in the theme panel ad spots. Here is an example where we call a custom ad 1 below the related articles on a post template:
code:
<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
https://www.screencast.com/t/DwoJ3XNhyvc
You will have to add the code in every post template corresponding to each post style that you use on your site.
Thank you!
Hello,
Indeed if you use a standard logo and not a text logo, there will be no tagline displayed. If you need a tagline under the logo, it can only be added by customizing the header php file.
Here is an example of how you can add a tagline:
Step 1. Place this code in header-style-10.php
<div class="customtagline">
<p>Tagline text</p>
</div>
https://www.screencast.com/t/g4XAhsV6TZS
Step 2. Place this code in the theme panel-> custom code-> custom css section:
.customtagline{
display:table;
margin-left:Auto;
margin-right:auto;
font-size:14px;
}
Thanks.
Please check now. Deactivate W3 Total Cache & Jetpack, but the problem can’t solve.
Hi,
i have just installed your AMP plugin on our site, but i have to make some customizations to the basic template.
How can i do it without have to redo every time i update your plugin?
I can do a child AMP template or something like that?
Thank you in advance…
Hi There,
Have added a custom ad to my sidebar (custom add 1). There is no spacing to the next widget in the sidebar.
Example URL: https://www.worldofpuppies.com/australian-shepherd/
Please advise Custom CSS to add some spacing.
Screenshot:
This is example for my website
Can you add Patreon, Gumroad and Bandcamp icons as well? Highly needed.
I tried disabling every single plugin on a site except TD AMP and TD composer and I STILL can’t load the WP Editor 🙁
Hi,there.
I’d like to know the additional sharing button.
I read old forum but I could’t find exact answer and some answer is old.
“td_social sharing” in /include/wp_booster seems to be pertinent section but no effect to Sharing on Theme Panel.
added to this code.
private static function get_service_share_info($service_id) {
$page_permalink = esc_url(get_permalink());
$page_id = get_the_ID();
$page_title = get_the_title();
switch ( $service_id ) {
case 'facebook':
return array(
'url' => 'https://www.facebook.com/sharer.php?u=' . urlencode($page_permalink),
'title' => 'Facebook'
);
break;
case 'twitter':
$twitter_user = td_util::get_option( 'tds_tweeter_username' );
return array(
'url' => 'https://twitter.com/intent/tweet?text=' . htmlspecialchars(urlencode(html_entity_decode($page_title, ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8') . '&url=' . urlencode($page_permalink) . '&via=' . urlencode( $twitter_user ? $twitter_user : get_bloginfo( 'name' ) ) ,
'title' => 'Twitter'
);
break;
Do I have to change other code as well??
Hello!, I’m new with the theme and I can’t manage to make the video backgrond, on a specific post, work.
Here’s the example:
link: https://test.elperroenlaluna.com.ar/siesta-z/
back: https://test.elperroenlaluna.com.ar/wp-content/uploads/2018/04/Screen-Shot-2018-04-16-at-23.35.24.png
(pass: holaperro)
What am I doing wrong? I need it to be full screen
Thank you!!!
PD: I add some css lines to modify some things from the template.
Hi,
I’m using Newspaper on my new site at http://joe-perez.com
There is a Pinterest widget for my new Pinterest board, but it does not update. I’ve waited a few days already. How long is it supposed to take? More likely it’s not slow, there’s just something wrong.
Also, if you look at the widget, there’s something odd. the link to my page name works fine, but the board name link below has an extra slash in it (so it doesn’t work). It should say: https://www.pinterest.com/worldviewartist/integral-universalism/ but it actually says https://www.pinterest.com//worldviewartist/integral-universalism/. This extra slash is not something I have entered.
Help please.
Tried uploading newspaper.zip manually in themes folder : Newspaper theme doesn’t show up in the wordpress panel
EDIT: Newspaper finally appeared in the theme panel after installing it manually in the themes folder. But you guys should check why it’s giving the error when installing it locally using Wampserver64 ! Weird bug !
Additional information :
PHP 7.2.4
MySQL 5.7.21
Wordpress 4.9.5
Hi, I am using a demo (ChurchMag) but I really like some predefined elements, some blocks in some other demos, for example Multipurpose demos or other News demos. How do I add these predefined blocks to my website? I tried installing other demos but they removed all my current pages.
Thank you.
Hi,
I recently installed the Ajax Load More plugin and purchased the Previous Post Add-on.
I would like to know if you have encountered any problems with this plugin, and what you suggest to install this shortcode inside the single template .php file (or if it should also be installed in the single loop or elsewhere).
Thank you
——- example ——-
<? php get_header (); ?>
<main id = “page-content”>
<div class = “post-container”>
<? Php
// The loop
if (have_posts ()):
while (have_posts ()): the_post ();
// replaced with Ajax Load More shortcode
echo do_shortcode (‘[ajax_load_more post_type = “post” repeater = “default” previous_post = “true” previous_post_id = “‘. get_the_ID (). ‘” posts_per_page = “1” button_label = “Previous Post”]’);
endwhile;
endif;
?>
</ Div>
</ Main>
<? php get_footer (); ?>
Hello mmmmarchese,
Please understand that there is talking about two different functionalities.
The main functionality of AMP plugin is to display the posts very quickly on the Google’s eye. Basically, when a client in on AMP version, he is not on your website (that’s why your visits were falling down more and more) and the main goal is to redirect it to your own website. The AMP will have to be viewed as a preview to the posts pages of your website which are delivered by the Google AMP Cache. This is a proxy-based content delivery network for delivering all valid AMP documents. It fetches AMP HTML pages, caches them, and improves page performance automatically. For more information about this case and to better understand the operating system for this plug-in, please check the following useful manual from here -> https://www.searchenginejournal.com/difference-accelerated-mobile-pages-amp-mobile-friendly-pages/172967/
As a very good example, please check the official page of Seo Yoast and there you will see that they have not implemented the menu bar on AMP pages, as you can see here -> https://www.screencast.com/t/OfzMGTLPQk
For more references and for a better understanding of AMP functionality please read the plugin documentation!!!
The Mobile plugin refers only to your own website and how it looks on the mobile phone, regarding on theme layout. For more information, please check here -> https://forum.tagdiv.com/the-mobile-theme/
Thanks for your understanding!
Hello,
You can find the amp head tag in the plugin files here: https://www.screencast.com/t/pTSxo5RP42mg
Thank you!
Hello,
If you do not want to use the mobile theme plugin, then you can only hide them on desktop and tablets.
You can target each individual menu item with css and hide it on all other devices except mobiles.
However there could be a downside where you can see them for a split second and then disappear from view. Css cannot remove a code entirely. Only hide it. You can try to put the code directly in style.css to minimize this effect but on slow connections you will still be able to see the change happen.
Here is an example on how to hide 2 menu items based on the menu item id number:
@media(min-width:767px){
.menu-item-3960, .menu-item-3961{
display:none!important;
}
}
Thank you!