- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
I guess you are using adsense at the wrong spot. Following code is the issue,just fix it:
<ins id="google_pedestal_container" style="width: 100%; z-index: -1;"><div style="height: 2626px; width: 600px; margin: auto;"><ins class="adsbygoogle" data-adsbygoogle-status="done"><ins id="aswift_6_expand" style="display:inline-table;border:none;height:2626px;margin:0;padding:0;position:relative;visibility:visible;width:600px;background-color:transparent;"><ins id="aswift_6_anchor" style="display:block;border:none;height:2626px;margin:0;padding:0;position:relative;visibility:visible;width:600px;background-color:transparent;"><iframe marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_6" name="aswift_6" style="left:0;position:absolute;top:0;width:600px;height:2626px;" class="lazyloaded" data-was-processed="true" width="600" height="2626" frameborder="0"></iframe></ins></ins></ins></div></ins>
https://www.homenaturalcures.com/wp-admin/post.php?post_id=1212&td_action=tdc
Above is the link, when I try to open the tagdiv composer and it’s only white screen which tries to load and load and load, but NOT loading.
Kindly guide.
Hello I was away for a while.Sp I could not comminicate with you. First of all thank you for your answer but it does not provide solution to my problem. My problem is not the number of categories I can not see. I solved this problem with your help thank you. My problem is I can not see the categories which are the forth, fifth level sub-categories of a cathegory in block filters. For examample I have GeneralAgriculture category, then GeneralAgriculturalProduction sub category under this category, then PlantProduction SubCategory under this subcategory, then OrnamentalPlantsProduction sub category under this subcategory, and then I have CutFlowersProduction subcategory under this subcategory (Which meand 4’th level sub category) My problem when I want to choose this CutFlowerProduction as category filter ib a block I do not see CutFlowerProduction category in BLOCK Dropdown filter list. So How can I see thesee forth fith level sub categories.
Another last smal question How can set my theme that when a visitor choose a page in menu it opens up in a new section in my browser instead of closing the present one and opening the page in current section.
Thank you.
TDS
The top social sharing buttons are hidden in Firefox by default and you must click a “+” symbol for them to appear.
Once you click the “+” symbol, the sharing icons appear and then you also have a “-” icon…clicking the “-” icon causes the just minus icon to disappear but not re-hide the icons themselves that were just revealed by clicking the + icon.
I do not want the icon to be able to be hidden in any capacity, I want them “open” and visbile without the ability to hide them.
This behavior does not happen in Chrome only in Firefox (tested on three machines.)
In Mobile Chrome & Safari the issue persists but has a different behavior
The facebook icon appears along with a + symbol. Clicking the + symbol then shows all the icons
and then clicking the – symbol makes only the – symbol dissapear but does not hide the icons.
I have tried changing the icon style to every setting in the theme panel yet the behavior continues.
I have no caching plugin enabled.
This behavior started after upgrade to 8.6
Newspaper 8.6
Wordpress 4.9.4
Local News template
images:



Hello there! I need some help.
I already checked the page How to use custom post type and taxonomy, and downloaded the suggested plugin td-custom-post-type. It seems to me that this is a “plugin way” to add CPTs other than my “child theme way” to add them.
I’m working with a Newspaper’s child theme, the files cpt-events.php and cpt-photos.php are required from functions.php. Then I rebuild the permalinks from /wp-admin/options-permalink.php whenever I add or remove the require lines.
The issue is that, upon adding these CPTs, TagDiv Composer no longer loads after clicking the button that links to /wp-admin/post.php?post_id=SOME_ID&td_action=tdc
Both CPT files were generated from Generate WP and everything else (other than TagDiv Composer) works flawlessly.
To make things even stranger, after removing cpt-events.php and cpt-photos.php require lines from functions.php, and rebuilding permalinks, TagDiv Composer continues not loading. It will only work if I restore a database backup saved right before activating the CPTs.
I don’t have an URL so that you could login in wp-admin. I’ve been testing it on my local development environment.
I’d like to know if you could take a look in the linked php files. I’m not aware of any CPT setting in those files that could trigger this behavior (composer not loading), perhaps you can spot it.
& How to Add LinkedIN Button ?
I solved the problem of padding/margin on h1 (& h2, h3 etc.) headers in TinyMCE just with:
h1 {
margin-top: 0; padding-top: 0;
}
This isn’t quite a full solution though because the TagDiv/TinyMCE content on a Pagebuilder page gets lost when you skip forward to the next page number on the ‘latest articles’ section. I’d love it if it didn’t do that!
-
This reply was modified 8 years by
ANM.
Hi,
I just made a post that I don’t want to publish yet, but it would be great if someone can preview the article before it could actually get posted (for example you can only open the post through a link).
who can I do that?
Thank you!
i have some issues:
1) i am using force width (http://www.livenews24tv.com). My banner is blurred. What is the exact banner size for these setting.
2) If i Want to change my layout into a boxed layout what is the procedure.
3) How to add a notification system in website. Is there any functionality available in this theme. example attached. if there is no option please advice me a good plugin.
4) Is there any option for POll. if there is no option please advice me a good plugin.
5)Is there any option for POP UP. if there is no option please advice me a good plugin.
6) How to add thumbnails in related post.
Catalin, thank you very much for your help. Your tips helped me discover new tools and possibilities 🙂
However, I have one more problem.
In the first post I wrote that I would like to have a photo gallery on the main page, I wanted to see the recently added media / photos for various entries in a specific place.
For example, when I add a new entry containing photos that have been added to the media library in the WordPress panel.
I would like it to be visible automatically in the gallery on the main page of the website, i.e. the recently added media.
At this moment I can add a gallery with photos in the selected place, however, I would have to add new photos manually each time to be visible on the home page.
Hi,
You could remove the theme login option by disabling it in the theme panel
– https://forum.tagdiv.com/login-how-to-enable-user-registration/
Then enter a custom login page in the top menu for example.
Or if you want to edit the login modal file you can find it here in the theme
– https://www.screencast.com/t/QmHabPcrLnc
Thanks
Hi,
Block content can be filtered by post type, but not by taxonomy. So you can display the custom post types in blocks by entering the name. Example for the default td_book custom post type
– https://www.screencast.com/t/8kRw0qq5L2
– https://forum.tagdiv.com/custom-post-type-support/
Thanks
Hi,
You can find examples online, such as these tutorials
– http://www.wpbeginner.com/beginners-guide/how-to-link-to-an-email-address-in-wordpress/
– https://premium.wpmudev.org/blog/link-wordpress-email-address/
I have tried something like this in the top bar template, could be done differently probably but it seems to work
– https://www.screencast.com/t/7qUUQ8SHwtDA
– https://pastebin.com/bjepEu1y
You could give it a try and see if it works for you as well.
Thanks
Hey there,
I have created custom sidebars in the “Categories” section in theme panel, but those sidebars aren’t appearing in posts. Is that how it works, as the sidebar are only visible on the category pages. Can you please tell me if it’s possible for the custom sidebar to appear in the post as well from the same category?
For example, I have created a custom sidebar “abc” for category “xyz” and I want the sidebar to appear in all the post pages as well from the “xyz” category and not only on the category page.
Can you please help me do this?
Thanks.
Hi guys,
how can I change the category title from UPPERCASE to Capitalized?
Here is the example, the word “DESTACADO” https://imgur.com/a/gHgzZ
Yes, is it possible to make for example like here https://endpts.com/ ?
guys i want to get the next and back button when i split my article into 5 pages for example.
when i split the article i get numbers instead of next and back button. and i dont want numbers i want only two buttons the next and back. How can i do it please
im using newspaper v8.6
Hi Catalin,
Code for color is worked, thanks.
Now I have another question about featured image.
When I upload a featured image on my post, it doesnt show it full on main page as sample http://www.stildirektoru.com/wp-content/uploads/2018/02/Untitled.jpg
@gpldev So you want to customize the category tag by actual category name, instead of module or block. That would be possible but somewhat difficult, the code would have to take into account the category name. Try something like this where in the same block, each tag is customized by category name
– https://www.screencast.com/t/ajIMHgY1kMuH
You can modify the code to be more precise if needed, this will affect all the website (every instance of the category tag).
This is the code used in the example if you would like to use it (use your own category names in it)
.td-post-category[href*=""]{
background-color: yellow;
}
Thanks
Hi
Am using the default newspaper demo but want to remove the shadow underneath the menu and replace with 2 lines. For example as in the newspaper lifestyle demo.
Thanks
sorry can you provide me example with a mailto link ??
Hello,
You should add a html anchor tag: https://www.w3schools.com/tags/tag_a.asp
Here is an example: https://www.screencast.com/t/qpTW8iqwCer
Thank you!
I’ve tried border=0 and cellspacing=0, but I can’t get rid of a thin border in every table I made.
For example: Border error
What to do? 🙂
Yoast SEO: https://wordpress.org/plugins/wordpress-seo/
https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/
For example:
The default title variable string is:
%%title%% %%page%% %%sep%% %%sitename%%
where %%sep%% can be set according to your any symbol.
Thanks a ton @simion . I was finally able to code the redirect after a lot of hit and trials. The following code has functionality to redirect users trying to access only bbPress Pages to Wp-Login page, and once they login using id or social profile, they will be redirected to the page they were trying to access.
Note: Make sure to paste the below code to Theme Functions.php , both main and mobile functions.php to make it work on desktop and mobile devices.
/**
* Redirect bbPress pages to registration page
*/
function redirect_login_page() {
$refer=urlencode($_SERVER["REQUEST_URI"]);
$isItExt = strpos(strtok($_SERVER["REQUEST_URI"],'?'), 'external');
if ( ! is_user_logged_in() && is_bbpress()) {
wp_redirect( 'https://medicforyou.in/wp-login.php' . '?redirect_to=' . $refer );
exit();
}
}
add_action( 'template_redirect', 'redirect_login_page' );
function redirect_after_login() {
global $redirect_to;
if (!isset($_GET['redirect_to'])) {
$redirect_to = get_option('siteurl');
}
}
add_action('login_form', 'redirect_after_login');
function redirect_login(){
wp_redirect( 'https://medicforyou.in/wp-login.php' );
exit();
}
add_action('wp_logout','redirect_login');
-
This reply was modified 8 years by
drvarun5179.