- NewsmagUsing the theme translations together with WPML
- NewsmagHow to update a plugin
- NewsmagCustom Post Type Support
- NewsmagAbove footer ads
- NewsmagWeather Widget
- NewsmagHow to update the theme
- NewsmagIntroduction
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagCustom ad spots
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
- NewsmagLoading image effects
- NewsmagCategory top post styles
- NewsmagSmart Lists
- NewsmagGeneral settings
- NewsmagTheme thumbs
- NewsmagtagDiv slider gallery
I would like to know if it is possible to remove the counter of posts showing up at the footer
I know that for example it is recommended to increase max_execution_time to over 60.
But I cannot change that. I am on a shared hosting account at Hostgator.
Here is what they say:
PHP Settings that Cannot be Changed
Shared packages (including Cloud Sites and Resellers) are hosted on carefully managed environments and have certain limits on what can be changed in order to maintain the stability of the server. Dedicated Server and VPS customers may change all the settings in the php.ini file and do not have the same limits as Shared and Reseller hosting.
Shared (Including Cloud Sites and Resellers)
PHP has been configured to use the following settings on our shared and reseller servers:
safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)
The above settings either CANNOT be changed or exceeded on Shared and Reseller accounts. These limits are set to prevent extremely high resource usage in shared environments. We have found that a majority of the PHP scripts will work within these limits, and the scripts that require more resources are best suited for a VPS or dedicated server.
-
This reply was modified 7 years by
StefanK.
Yes, but for example, I want to edit only the PC version. It turns out that in this case I will need to remove the changes in all other (3) versions?
In the settings there is no way to do the opposite? Namely:
make changes to only one version, so that they are used only in this way, and at the same time I would not have to change anything in other versions?
_
Да, но например, я хочу внести правки только ПК-версию. Получается, что в этом случае мне нужно будет убрать изменения во всех остальных (3) версиях?
В настройках нет возможности сделать наоборот? А именно:
внести правки только в одну версию, чтобы они использовались только так, и при этом мне не пришлось бы изменять что-либо в других версиях?
Hi,
It will look like this with the mobile Chrome browser – http://prntscr.com/mghm0g
This theme demo has the AMP plugin enabled
– https://demo.tagdiv.com/newspaper_crypto/td-post-ripple-ceo-and-ethereum-co-founder-bash-ico-industry/amp/
If you search for the post in Google search and open it that is how it will look.
Thanks
Hi, how are you? I’m buy newspaper 9 theme & upload theme, install demo. Now how to upload my old website?
Hello,
I use the widget Block for my sidebar and it display (author,date,categorie..) for each article, and i do not want to show (date,author) and keep only the title and categorie.
how can i configure this in the block attributes?
i see this attribute in the “filter” tab : Show the following ID, but i don’t know how to use and if it’s the right one to use for my need
Thanks & Regards
You could use a CSS that will hide the sub-category by the position number. For example the Style hunter is number 4 in the list of sub-categories
– http://prntscr.com/mgdw7p
The code to hide it is like this – http://prntscr.com/mgdye0
Code used in example here
.menu-item-291 .block-mega-child-cats a:nth-child(4) {
display:none;
}
I used the ID of the menu-item so that the code will apply only to that menu item
– http://prntscr.com/mgdz7v
Hi,
The newsletter and other shortcodes will not be displayed when the mobile theme plugin is active. There would be no way around this.
If you want to display a newsletter form in the mobile version you would have to enter the form directly in the post content for example. This would be a solution.
Thanks
Hi Calin, it does help but we’re down to two options.
We would like to have the load more option instead of the pagination, or more results on the page, using article display view 6.
We are considering building a custom template using the cloud library, but then we wouldn’t know where to alter the code as you suggested earlier in the example of td module 16.
can the custom template be adjusted like this as well and if so where can we find those files please ?
thank you, nearly there 😉
Hi,
Please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
WP_MEMORY_LIMIT try to increase it to a value of double you already have if possible.
Please add this code in the .htaccess , file at the end of the file:
<IfModule mod_substitute.c> SubstituteMaxLineLength 10M </IfModule>
Here is and example how to do it Please try to add the
define(‘WP_DEBUG’, false); define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
in wp-config.php
https://www.screencast.com/t/h10CCfEVHIk
Hope this will help you!
Thank you for your understanding.
Hi,
You can do that in the translation settings for example – http://prntscr.com/mgc5bf
Result – http://prntscr.com/mgc5is
Thanks
Hi,
In order to make sure that the post are not getting to repeat you can set on blocks an offset number -> https://www.screencast.com/t/PFZWC4mi for example if you are displaying in all blocks 3 post you can set on the second block to start from 3 -> https://www.screencast.com/t/i1OsSCu2E4 also make sure that all blocks are sort order to latest -> https://www.screencast.com/t/iWklA6xSPlif
Hope this will help you!
Thanks.
Hi,
That is a cloud post template, you can see examples of cloud templates here
– https://affiliate.tagdiv.com/#/load/Single
You can preview and even edit them to see how they are made. If you want to import them, it can be done through the cloud library plugin
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
A similar result can be achieved with default post templates. For example a post with no sidebar and using the text padding option – http://prntscr.com/mgbt23
The result will be like this – https://demo.tagdiv.com/newspaper/td-post-five-things-you-may-have-missed-over-the-weekend-from-the-world-of-business/
Thanks
Hi,
Please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
WP_MEMORY_LIMIT try to increase it to a value of double you already have if possible.
Please add this code in the .htaccess , file at the end of the file:
<IfModule mod_substitute.c> SubstituteMaxLineLength 10M </IfModule>
Here is and example how to do it Please try to add the
define(‘WP_DEBUG’, false);
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
in wp-config.php
https://www.screencast.com/t/h10CCfEVHIk
Hope this will help you!
Thank you for your understanding.
Hi,
Shouldn’t be a problem deleting elements in a page, and adding new ones. So for example an element can be deleted by clicking the delete icon – http://prntscr.com/mgba8u
or by dragging it to the right corner – http://prntscr.com/mgbam6
Then you can add new elements, by dragging and dropping them from the left composer sidebar in the desired location
– http://prntscr.com/mgbb3y
Here is a composer guide – https://forum.tagdiv.com/tagdiv-composer-tutorial/
And a block settings guide – https://forum.tagdiv.com/block-settings-guide/
If I misunderstand the problem, or you have more questions, please let me know.
Thanks
Hi,
If this is what you want to achieve -> https://www.screencast.com/t/z8vtyVjPq
then you need to add the rel=nofollow in td_module_single_base.php the path is D:\XAMPP\htdocs\test_site\wp-content\themes\Newspaper\includes\wp_booster\td_module_single_base.php -> https://www.screencast.com/t/q8JCiMtno
Hope this helps!
Thanks.
I have problems to embed Facebook posts in WordPress posts.
I try to embed:
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = ‘https://connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v3.2&appId= – ID NUMBER CREATED BY FACEBOOK* – &autoLogAppEvents=1’;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
In Theme panel “HEader Script Code” in header, bu when I emebed Facebook posts the contents are not visible in the post or are visible incorrectly.
Can you help me?
* = I use the correct ID app generated by Facebook but maybe app Facebook is not correctly configured
Hi,
That option is just and sample review will no affect you SEO and pagespeed,
If you want you can check our documentation for reviews here -> https://forum.tagdiv.com/reviews-2/
Thank you for your understanding!
Hi,
You mean the post sharing? – http://prntscr.com/mgagsw this will appear only in the post pages. One way of removing it for specific posts would be to use some CSS.
For example by using the unique post ID, and remove the top sharing
– http://prntscr.com/mgahg7
Or bottom sharing – http://prntscr.com/mgahw4
These are the codes used in the example
.postid-1003 .td-post-sharing-top {
display: none;
}
.postid-1003 .td-post-sharing-bottom {
display: none;
}
Or use cloud post templates, you can design these with the composer
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Here you can preview and even edit the cloud post templates designed by us
– https://affiliate.tagdiv.com/#/load/Single
It can be seen that the sharing is an element in this post templates, so you can use a template that contains the sharing element, and another one that doesn’t. Apply them to the posts as needed.
Thanks
That could be done with some CSS, for example – http://prntscr.com/mgafmt
.tdb_loop .td_module_no_thumb .td-image-container {
display: none;
}
.tdb_loop .td_module_no_thumb .td-module-meta-info {
margin-left:0;
padding-left:0;
}
I used the post loop 1 element in this example, this code could be modified if needed.
I have tried on another browser, incognito and another pc, and still the same problem happens. Not just me, we have another user (editor & author) and have the same problem.
try resaving permalinks and check /amp endpoints actually work.
Hello, search console gives me more and more 404 errors to pages amp.
what is the solution?
Ex: https://www.todosobrealopecia.com/aceite-esencial-menta-piperita/amp
Actually, it depends on the net speed of the user. In an average page speed, it looks quite slow for Newspaper Theme. I think Newspaper developers have to optimize the speed in next versions.
In Google Page Insight it is 22% from Mobile & 56% from Desktop. It is not good also for SEO.
Hello,
I’m using Newspaper theme for about a year and it’s impressive. My question is that I need to be able to fully customize the header any way I want. Currently, I’m using Header Style 10. Here are my specific requirements:
1. Should be able to stretch the logo from left to right margin. For example, I should be able to have a logo that’s 2400px by 1200 px.
2. I should be able to align it in any way I want. Currently it is showing only centre aligned.
please help.