- 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.
The logo in the amp version is huge. It comes out “elongated” and looks pixelated. In the normal version it looks perfect.
Thank you.
Hi,
You simply have to activate the plugin. This will be seen in the post page source
– https://www.screencast.com/t/h1dOe33Omm
That line will tell search engines and other AMP applications there is a amp version of the page and serve it.
Thanks
The weather changes were not a decision on our part, they have modified the implementation of the widget. We simply adapted to the said implementation (it could have also been removed entirely from the theme).
From what I can see in the screenshots, some of the composer sections are not displayed properly, for example the row layout options.
In some cases that has happened because of plugins. You could try as a quick test to deactivate them all, leave only theme plugins active. Check if this solves the issue.
The theme and theme plugins should work properly if the basic requirements are met. The newly released update now also supports PHP 7.2. Previously such PHP versions were causing issues if used with the theme.
Hi,
@carlosb Please provide some examples of the issue. If the mobile theme plugin is deactivated the same content from desktop will be displayed on mobile. Unless you manually place conditions for the elements on different devices
– https://www.screencast.com/t/xMFO9BmiO9pu
– https://www.screencast.com/t/CcVO0iuLA
Thanks
Ad 2. If i upload a mobile logo, it looks ugly, if not, there is no logo on AMP post, but some header do not need a mobile logo, so you have to add another logo option for AMP pages/posts.
Hi, how to setup the new amp plugin?
What´s my todos? Do i have to tell google about it?
Best regards,
Sebastian
Hi,
I installed new version of Newspaper:
1. Where is a tagdiv newsletter panel?
2. Why there is no logo and menu? https://wlozku.pl/5-ulubionych-pozycji-mezczyzn-w-lozku/amp
When can the next update on newsmag expected? Newspaper has a big update today with AMP & many new features. Is NewsMag left out or update is on the way?
Hi,
That would depend on what changes you would like to make to the author box. Visual improvements could be made with CSS. The browser inspector can be used to customize various elements on the website, if there are no theme elements for this
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
I could give you a code to style the box, if you could provide some examples.
Thanks
Hi,
Not in the theme panel, the theme does not have redirection options. The login link displayed in the top menu is defined in this theme file
– https://www.screencast.com/t/GDpvpxGWUeM
This is a similar topic – https://forum.tagdiv.com/topic/login-redirect/
So you can modify the link to lead to an address of your choosing, this is an example where the login link is modified to direct to Google
– https://www.screencast.com/t/ogPRT15z
Thanks
Hi,
Category pages should show only posts that are actually included in the respective category. I have tested this on my end with the infinite pagination but there is no problem, the posts that are displayed belong to the category currently viewed.
If the post is included in other categories as well, it will also show on those category pages. For example this post
– https://pokertexas.net/david-peters-z-niektorych-poker-wyciaga-najgorsze-cechy-cz-2/
This post will display on all those category pages
– https://www.screencast.com/t/xeyZt6ff
– https://pokertexas.net/artykuly/
– https://pokertexas.net/specjalne/
– https://pokertexas.net/wywiady/
I see you have switched to numbered pagination so I cannot see the issue. If you could provide a link to a category page with infinite loading we will inspect it.
Thanks
Simion,
I have deactivated the mobile plugin on my site: procurementoc.com, but in my mobile devices, iPad & Iphone, the home page shows items that I have either deleted or “hidden”. How do I fix that?
Thanks,
Hello,
The theme files can be requested from outside WordPress, generating a server error (HTTP 500).
Try to access to: http://yoursite/wp-content/themes/Newspaper/index.php
If you access directly to he theme files, the get_header function is not defined, so PHP returns an error: PHP Fatal error: Call to undefined function get_header().
Example: http://yoursite/wp-content/theme/Newspaper/index.php
Maybe the code could check for WordPress environment like this:
if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly
Another solution to prevent directly access to plugin and theme code is this:
# Restrict access to PHP files from plugin and theme directories
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/
RewriteRule wp-content/plugins/(.*\.php)$ – [R=404,L]
RewriteCond %{REQUEST_URI} !^/wp-content/themes/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/themes/directory/to/exclude/
RewriteRule wp-content/themes/(.*\.php)$ – [R=404,L]
There is no need to adjust anything in the theme in this matter. It already has the required parameters implemented.
For example in this case the updated is implemented here
– https://www.screencast.com/t/L2bHBnwEDDPj
Testing the theme live demo the updated parameter can be seen
– https://www.screencast.com/t/co4lF8Iay7
Try enabling the post date to show on post pages, monitor if there are any changes. That may take a while.
Hi,
You could use some CSS to change the default colors. Like this basic example
– https://www.screencast.com/t/sNyYc4YSXZO
This is the code used
.td_block_trending_now .td-trending-now-title {
background-color: blue;
color:yellow;
}
If you wanted something else please mention what exactly you want to change about the news ticker.
You can use the browser inspector to make various customization to theme elements
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
We could try a more general code and see if it works for you. Something like this
– https://www.screencast.com/t/QgFM5nt3fU9u
The code will add a border bottom to the top menu and main menu, all the values in the code can be changed (border size, style and color)
.td-header-menu-wrap,
.td-header-top-menu-full {
border-bottom: 5px solid red;
}
Custom codes such as this can be entered in the Theme panel->Custom CSS section. Try it and see if it works properly.
Such customization can easily be done with the browser inspector tool. Inspect the location you want to customize and identify the elements used. Then create custom code. This is a guide in the matter with some examples
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
If the code does not work for you, please mention the header style used, it might need modifications.
Thanks
That could be done but not by a theme option. It could be done with CSS. For example if you want to hide this menu item on desktop
– https://www.screencast.com/t/FCCYcUtRtNiK
You could use a code like this – https://www.screencast.com/t/Hr46fGoWBrZ
Entering that code in Theme panel->Advanced CSS in the desktop section, will hide that menu item on desktop. It will only be visible in tablets and phones.
Each menu has a unique class, which can be used to target it
– https://www.screencast.com/t/IpCgtTfqfj
This is the code I used in the example
.menu-item-724 {
display: none;
}
Hi,
So you want to remove the content excerpt for that module, that can be done like this. Identify the block module used and set the excerpt length to 1 in the theme panel. For example I have block 12 here
– https://www.screencast.com/t/pjk6iZHgpe
In the excerpt settings for block 12 I have set it like this
– https://www.screencast.com/t/PxM8Dr5lTj
Result – https://www.screencast.com/t/2R8BilJ0l7P
Thanks
forget to copy the sample:
https://www.1000wordsmagazine.com/author/lola/
So – I would like to put the like buttons under the author-box.
I copied this from the page source code:
<div class=”td-post-sharing-bottom”><div class=”td-post-sharing-classic”><iframe frameborder=”0″ src=”https://www.facebook.com/plugins/like.php?href=https://www.1000wordsmagazine.com/author/lola/&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21″ style=”border:none; overflow:hidden; width:105px; height:21px; background-color:transparent;”></iframe></div></div>
The files where I found the mentioned div class:
Newspaper/includes/modules/td_module_single.php
Newspaper/includes/modules/td_module_single_mob.php
Newspaper/includes/wp_booster/td_module_single_base.php
But there area soo confusing code lines – where and what to check….
Thank you, Zoltan
Hi,
I would ask how I can put the same like button which has in single posts to implement into – the pages, and other posts types – like the author page?
I managed to implement the share buttons into the author.php — even its share-count not correct ( it counts the first post’s shares, instead of the current author page… )
But, I have a request from authors they would like to see the Facebook like, and Google Plus +1 buttons also there.
— The Google +1 button I have to put also to the single posts.. 🙁
Which files I have to edit for get the results on desktop/mobile& also?
Thank you,
Zoltan
And, since the landscape keeps evolving … good to read up on what is *actually* happening with the AMP format “right now” vs where it was in 2016 when we started with it:
e.g., some of the latest wonk
https://www.ampproject.org/docs/reference/components/amp-story
https://searchengineland.com/amp-stories-new-accelerated-mobile-pages-format-google-291907
-
This reply was modified 8 years by
simchris.
Salutari. Am si eu cateva probleme pe care as vrea sa le remediez pentru ca au ceva timp, si update-urile de la tema nu le-au rezolvat.
1. Primesc in Search Console: Server error: https://www.sociedelic.com/wp-content/themes/Newspaper
2. Acest articol si nu numai, cumva nu sunt indexate bine, pentru ca in rezultatele google nu apare cum trebuie, iar la imaginile google apare de mai multe ori poza de la articol la dimensiuni mici, dar duc catre alte articole care nu au nicio treaba, se poate vedea aici poza cu fetita. Ca sa gasesc articolul pe google trebuie sa scriu tot titlul complet “Waha Festival – Come in peace, leave in love”, si patesc asta cu majoritatea articolelor. Folosesc Yoast si cred ca este bine setat, la fel si optimizarea la fiecare articol, si tind sa cred ca este ceva cu tema.
3. Tot in search console, cand dau Fetch as google la orice link la status imi afiseaza “Partial”
Googlebot couldn’t get all resources for this page. Here’s a list:
URL Type Reason Severity
https://platform.twitter.com/widgets.js Script Temporarily unreachable Medium
https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0 Font Temporarily unreachable Low
https://connect.facebook.net/en_US/sdk.js Script Temporarily unreachable --
https://www.google-analytics.com/analytics.js Script Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/12/Dakini-Festival-2017-Tuzla-19-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/12/Psy-Fi-2018-A-Shamanic-Experience-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/07/W.O.L.F.-2017-Psytrance-festival-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/06/Dakini-Festival-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2018/02/Waha-festival-2017-11-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2015/10/doc-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2016/03/Why-you-should-visit-Romania-Bucegi-mountains-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/01/Shipibo-textiles-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2015/11/3807378854-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2016/07/flower_of_life_v2_by_janrobbe-d6tr2ew-100x70.png Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2015/10/Pot__880-e1441134266958-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/11/Guardian-of-the-Future-by-Juan-Carlos-Taminchi-100x70.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2016/04/1048461_10156301735695368_4763004139053998101_o-324x160.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/uploads/2017/06/Dakini-Festival-324x160.jpg Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/plugins/mailster/assets/img/loading.gif Image Temporarily unreachable --
https://www.sociedelic.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?14 Font Temporarily unreachable --
https://fonts.gstatic.com/s/merriweather/v19/ZvcMqxEwPfh2qDWBPxn6nn06qf9KHRHwsVx7iw5MXmY.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/merriweather/v19/RFda8w1V0eDZheqfcyQ4EInF5uFdDttMLvmWuJdhhgs.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/opensans/v15/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/opensans/v15/k3k702ZOKiLJc3WVjuplzInF5uFdDttMLvmWuJdhhgs.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSonF5uFdDttMLvmWuJdhhgs.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/opensans/v15/xjAJXh38I15wypJXxuGMBp0EAVxt0G0biEntp43Qt6E.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/roboto/v18/RxZJdnzeo3R5zSexge8UUaCWcynf_cDxXwCLxiixG1c.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/roboto/v18/zN7GBFwfMP4uA6AR0HCoLQ.ttf Font Temporarily unreachable --
https://fonts.gstatic.com/s/roboto/v18/d-6IYplOFocCacKzxwXSOKCWcynf_cDxXwCLxiixG1c.ttf Font Temporarily unreachable --
https://use.typekit.net/af/ed90e7/000000000000000000014a3f/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/45c572/000000000000000000014a3e/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/c631e5/000000000000000000014a3d/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/59fede/000000000000000000014a40/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3 Font Temporarily unreachable --
https://www.sociedelic.com/wp-content/themes/Newspaper/images/icons/newspaper.ttf?14 Font Temporarily unreachable --
https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0 Font Temporarily unreachable --
https://use.typekit.net/af/ed90e7/000000000000000000014a3f/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/45c572/000000000000000000014a3e/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/c631e5/000000000000000000014a3d/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/59fede/000000000000000000014a40/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3 Font Temporarily unreachable --
https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0 Font Temporarily unreachable --
https://use.typekit.net/af/ed90e7/000000000000000000014a3f/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/45c572/000000000000000000014a3e/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/c631e5/000000000000000000014a3d/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3 Font Temporarily unreachable --
https://use.typekit.net/af/59fede/000000000000000000014a40/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3 Font Temporarily unreachable --
https://www.sociedelic.com/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=8.5.1 AJAX Temporarily unreachable --
https://www.facebook.com/plugins/like.php?href=https://www.sociedelic.com/waha-festival-come-in-peace-leave-in-love/&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21 Resource Temporarily unreachable --
I think a more recent post stated that they would be including that in a very soon upcoming version; I think the priority at the moment has been
a) PHP 7.2 test/update code
b) updates/enhancements to the TD Composer plugin
c) bug fixes from the major update to recent version of Newspaper
d) additional prep for big changes coming to WP in WP5.
I believe AMP support is in the mix, according to some of the TagDiv theme folk support posts on the topic. 🙂
Keeping in mind that AMP support doesn’t fix existing content/html issues (e.g., inline HTML), https issues, or push for upcoming http/2 support as a metric on the usability/best practices audit in Chrome. Using the AMP plugin *now* is a good learning curve on basic fixes needed for baseline AMP compliance, regardless of solutions used.
( I don’t work here. Just a webdev dinosaur ! (rrr!) )
Please consider incorporating subtitles into the blocks that otherwise enable excerpts to appear. Or, add blocks that work with subtitles.
This is a fundamental mistake with your theme, in my opinion – Because it forces people to manipulate the content of an article so that the title & subtitle display properly in the block.
I’ve found Automattic AMP to be extremely limited as to be virtually useless. I’m finding that AMP for WP is much more customisable. There are a few glitches there too, but I can live with them for now and probably beat them into submission.
I also support other people’s requests for AMP pages to be built into the native Newspaper theme (if and when feasible). Seriously, Newspaper is such a great theme on so many levels and it would really give TagDiv a decided advantage over all other themes by offering an AMP feature.
Cheers