Hello,
As you can see from my other posts, I am having major issues with your theme. I’m not doing anything out of the ordinary. I don’t know PHP or CSS. I am merely creating copies of your Cloud templates and making test posts.
I have been using Single Post Template 62 for everything, but trying to open one specific page to edit causes a 500 error. All other pages are fine. I wasn’t able to work on the website last night because I kept being frozen out. All my other websites on the server load fine; its only yours. My hosts confirmed this for me.
Also, the aforementioned template has a nice layout (with both text and images), but when selecting it when I am creating the new post I don’t get to see the layout; all I see is an empty Gutenberg page, and thus when viewing the page I also don’t see your layout, just the Featured Image and one long block of text. It has always been this way from day one.
I have had this theme for just under 3 weeks, and the amount of time spent trying to find workarounds is unacceptable, and so I really need you to have a look at this for me. I don’t wish to provide screenshots or videos because you don’t have a private area where my work is hidden from the public; my other theme suppliers do it and it works well.
Please let me know what you can do for me and if you have any bug updates that you can supply.
Thanks : )
Hi,
unfortunately for the mobile theme, a different custom code must be made, for example here is made a custom code that applies to all categories both on desktop and on mobile.
https://forum.tagdiv.com/topic/category-color-and-filtering-options/
For your case, you need to have a code like this, but you need to set each category that you have
.td-module-image a[href$="/video/"], .td-meta-info-container a[href$="/video/"], .td-module-container a[href$="/video/"], .single .td-category a[href$="/video/"], .tdb_single_categories a[href$="/video/"], .entry-category a[href$="/video/"] {
background-color: blue;
}
.td-module-image a[href$="/fashion/"], .td-meta-info-container a[href$="/fashion/"], .td-module-container a[href$="/fashion/"], .single .td-category a[href$="/fashion/"], .tdb_single_categories a[href$="/fashion/"], .entry-category a[href$="/fashion/"] {
background-color: blue;
}
Also, if you want to have it on mobile theme you need to set the code in Theme Panel -> Mobile Theme -> Custom Code -> CSS => https://www.screencast.com/t/MvF9ApPZ43r -> https://i.imgur.com/hUP91q1.png
Thank you!
Thankyou, the category page is displaying all 4 categories now.
The second piece of CSS only seems to have changed the category tags on this page though? I was hoping to change the colour of every Category Tag, including the ones on the homepage.
Apologies if I have not explained correctly.
Many thanks.
Hello @mixos,
If you follow the steps which are presented in this tutorial here: https://tagdiv.com/how-to-increase-page-loading-speed/ youâll be able to increase the speed of your website.
Also, to increase the page speed you can check these similar topics for more solutions:
â https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/
â https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
â https://tagdiv.com/how-to-increase-page-loading-speed/
â https://developers.google.com/speed/docs/insights/v5/about
â https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
â https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
Please give it a try and follow the steps which I presented above about page speed.
Also, check our guide from here: https://forum.tagdiv.com/how-to-make-the-site-faster/
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Please make sure to use our newest tool called tagDiv CSS Analyzer which comes in handy to resolve some of your issues. Take a look at the video guide here: https://www.youtube.com/watch?v=tnkVapqhIHc
âThis custom tool performs an automatic test to find missing CSS rules applied by user interaction. Moreover, you can manually interact with a chosen section/component from the page while the tool records all the involved CSS. It will generate the final CSS file for this page and also will split the rules in Critical CSS to be loaded in the websiteâs header.â ( https://tagdiv.com/whats-new-in-the-newspaper-theme-10-4-update/ )
We tested our tool on our demos, and we have such great results!
Take a look at this topic because it could help you: https://forum.tagdiv.com/topic/css-analyzer-step-by-step-and-doubts/
Also, please set width on the logo https://i.imgur.com/oSUDVIU.png or try to remove and add it again.
For mobile, you can use a mobile theme plugin or mobile page, which can help to have a better score for mobile, you can find more information in these articles
-> https://forum.tagdiv.com/the-mobile-theme/
-> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY
Also, you can try to optimize your images, for example, you can use the EWWW Image Optimizer plugin, also, you can try other plugins like Autoptimize
Thank you!
Hi john432, the Newsmag theme do not have an option to set the background image for header, therefore This was done using a css code -> https://i.imgur.com/c84XWur.png
Thank you!
Hi Bettina,
Thank you! It is however not an empty column, but the margin area of the header and of the last element just above the footer. As you can see the margin area in the css is set to 70: https://imgur.com/a/ie1V4gP. When I turn it off the whitespace disappears, but there is not enough room between the header and the start of the page/body: https://imgur.com/rRo5RPE.
I think that, since margins can’t have colors but just show the color of what’s underneath, that the site underneath is just white colored. If I can make that the same blue color, everything would be fine. I don’t think there is a way to do that within the tagDiv Composer however. Do you know how I would solve this?
Hello,
To display more of the 2 categories, you need to use a custom code to display the categories that are hidden.
.td-category {
overflow: initial;
}
Also, to change the color you need to use a custom code =>
.td-category-siblings .td-category a {
background-color: red;
color: white;
}
The code needs to be set in Theme Panel> Mobile Theme > Custom code> CSS.
Thank you!
Hi,
I still have issues generating the Critical CSS. I can analyse the CSS and press “Generate Critical CSS” but then noting happens. When I look into the console, I see “Failed to load resource: the server responded with a status of 403 () https://xxx/wp-json/tda/save_essential_css?uuid=1480a66c-687e-8488-3bc8-503931a16a05”
Any idea how to fix this?
Thanks!
Hello.
I want to edit woocommerce plugin in newspaper 11 with child-theme css and php.
Can I use css or php by creating a td-woo folder in the child-theme folder?
Thank you
Here is the problematic script as per chrome inspector –
/* translators: %s expands to Yoast SEO. */
Object(D.__)(“An error occurred loading the %s primary taxonomy picker.”,”wordpress-seo”),”Yoast SEO”)),r&&Object(E.createElement)(A.ClipboardButton,{isLarge:!0,text:r},Object(D.__)(“Copy error”,”wordpress-seo”)))}return this.taxonomyHasPrimaryTermSupport()?Object(E.createElement)(E.Fragment,null,Object(E.createElement)(n,this.props),Object(E.createElement)(G,{taxonomy:H[t]})):Object(E.createElement)(n,this.props)}}]),i}(E.Component);X.propTypes={OriginalComponent:P.a.func.isRequired,slug:P.a.string.isRequired};var J=X,ee=n(82);function te(e){var t,n,r=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e(“#yoast-wpseo-primary-“+t).val()}function o(t,n){e(“#yoast-wpseo-primary-“+t).val(n).trigger(“change”);var r=Object(S.dispatch)(“yoast-seo/editor”);if(r){var i=parseInt(n,10);r.setPrimaryTaxonomyId(t,i),”category”===t&&r.updateReplacementVariable(“primary_category”,function(t){var n=e(“#category-all”).find(“#category-“.concat(t,” > label”));if(0===n.length)return””;var r=n.clone();return r.children().remove(),e.trim(r.text())}(i))}}function a(o){var a,s,c;a=e(“#”+o+’checklist input[type=”checkbox”]:checked’);var u=e(“#”+o+”checklist li”);u.removeClass(“wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term”),e(“.wpseo-primary-category-label”).remove(),u.addClass(“wpseo-term-unchecked”),a.length<=1||a.each((function(a,u){u=e(u),(s=u.closest(“li”)).removeClass(“wpseo-term-unchecked”),1!==e(u).closest(“li”).children(“.wpseo-make-primary-term”).length&&function(n,i){var o,a;o=e(i).closest(“label”),a=t({taxonomy:r[n],term:o.text()}),o.after(a)}(o,u),u.val()===i(o)?(s.addClass(“wpseo-primary-term”),(c=u.closest(“label”)).find(“.wpseo-primary-category-label”).remove(),c.append(n({taxonomy:r[o]}))):s.addClass(“wpseo-non-primary-term”)}))}function s(t){o(t,e(“#”+t+’checklist input[type=”checkbox”]:checked:first’).val()),a(t)}function c(e){“”===i(e)&&s(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,n){var r,u=e(“#”+n.name+”div”);a(n.name),u.on(“click”,’input[type=”checkbox”]’,(r=n.name,function(){!1===e(this).prop(“checked”)&&e(this).val()===i(r)&&s(r),c(r),a(r)})),u.on(“wpListAddEnd”,”#”+n.name+”checklist”,function(e){return function(){c(e),a(e)}}(n.name)),u.on(“click”,”.wpseo-make-primary-term”,function(t){return function(n){var r;r=e(n.currentTarget).siblings(“label”).find(“input”),o(t,r.val()),a(t),r.focus()}}(n.name))}))},t=wp.template(“primary-term-ui”),n=wp.template(“primary-term-screen-reader”),e(_.values(r)).initYstSEOPrimaryCategory(),Object(ee.a)()&&Object(j.get)(window,”wp.hooks.addFilter”,j.noop)(“editor.PostTaxonomyType”,”yoast-seo”,(function(e){return function(t){b()(o,t);var n,r,i=(n=o,r=function(){if(“undefined”==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(“function”==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(n);if(r){var i=v()(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return w()(this,e)});function o(){return f()(this,o),i.apply(this,arguments)}return h()(o,[{key:”render”,value:function(){return Object(E.createElement)(J,d()({OriginalComponent:e},this.props))}}]),o}(E.Component)}))}var ne=n(23),re=n(22),ie=n(121),oe=n(165),ae=n(34),se=n.n(ae),ce=new RegExp(“\\[[^<>&/\\[\\]\0- =]+?( [^\\]]+?)?\\]”,”g”),ue=new RegExp(“\\[/[^<>&/\\[\\]\0- =]+?\\]”,”g”),le=function(e){var t=e.registerPlugin,n=e.registerModification,r=e.pluginReady,i=e.pluginReloaded;this._registerModification=n,this._pluginReady=r,this._pluginReloaded=i,t(“YoastShortcodePlugin”,{status:”loading”}),this.bindElementEvents();var o=”(“+wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags.join(“|”)+”)”;this.keywordRegex=new RegExp(o,”g”),this.closingTagRegex=new RegExp(“\\[\\/”+o+”\\]”,”g”),this.nonCaptureRegex=new RegExp(“\\[“+o+”[^\\]]*?\\]”,”g”),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))};le.prototype.declareReady=function(){this._pluginReady(“YoastShortcodePlugin”),this.registerModifications()},le.prototype.declareReloaded=function(){this._pluginReloaded(“YoastShortcodePlugin”)},le.prototype.registerModifications=function(){this._registerModification(“content”,this.replaceShortcodes.bind(this),”YoastShortcodePlugin”)},le.prototype.removeUnknownShortCodes=function(e){return(e=e.replace(ce,””)).replace(ue,””)},le.prototype.replaceShortcodes=function(e){var t=this.parsedShortcodes;if(“string”==typeof e&&t.length>0)for(var n=0;n<t.length;n++)e=e.replace(t[n].shortcode,t[n].output);return this.removeUnknownShortCodes(e)},le.prototype.loadShortcodes=function(e){var t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)},le.prototype.bindElementEvents=function(){var e=document.getElementById(“content”)||!1,t=_.debounce(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener(“keyup”,t),e.addEventListener(“change”,t)),”undefined”!=typeof tinyMCE&&”function”==typeof tinyMCE.on&&tinyMCE.on(“addEditor”,(function(e){e.editor.on(“change”,t),e.editor.on(“keyup”,t)}))},le.prototype.getContentTinyMCE=function(){var e=document.getElementById(“content”)&&document.getElementById(“content”).value||””;return”undefined”!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get(“content”)&&tinyMCE.get(“content”).getContent()||””),e},le.prototype.getUnparsedShortcodes=function(e){if(“object”!==se()(e))return console.error(“Failed to get unparsed shortcodes. Expected parameter to be an array, instead received “+se()(e)),!1;for(var t=[],n=0;n<e.length;n++){var r=e[n];-1===t.indexOf(r)&&this.isUnparsedShortcode(r)&&t.push(r)}return t},le.prototype.isUnparsedShortcode=function(e){for(var t=!1,n=0;n<this.parsedShortcodes.length;n++)this.parsedShortcodes[n].shortcode===e&&(t=!0);return!1===t},le.prototype.getShortcodes=function(e){if(“string”!=typeof e)return console.error(“Failed to get shortcodes. Expected parameter to be a string, instead received”+se()(e)),!1;for(var t=this.matchCapturingShortcodes(e),n=0;n<t.length;n++)e=e.replace(t[n],””);var r=this.matchNonCapturingShortcodes(e);return t.concat(r)},le.prototype.matchCapturingShortcodes=function(e){for(var t=[],n=(e.match(this.closingTagRegex)||[]).join(” “).match(this.keywordRegex)||[],r=0;r<n.length;r++){var i=n[r],o=”\\[“+i+”[^\\]]*?\\].*?\\[\\/”+i+”\\]”,a=e.match(new RegExp(o,”g”))||[];t=t.concat(a)}return t},le.prototype.matchNonCapturingShortcodes=function(e){return e.match(this.nonCaptureRegex)||[]},le.prototype.parseShortcodes=function(e,t){return”function”!=typeof t?(console.error(“Failed to parse shortcodes. Expected parameter to be a function, instead received “+se()(t)),!1):”object”===se()(e)&&e.length>0?void jQuery.post(ajaxurl,{action:”wpseo_filter_shortcodes”,_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()},le.prototype.saveParsedShortcodes=function(e,t){e=JSON.parse(e);for(var n=0;n<e.length;n++)this.parsedShortcodes.push(e[n]);t()};var de=le,pe=n(254),fe=n.n(pe),ge=function(){function e(t,n){f()(this,e),this._registerPlugin=t,this._registerModification=n}return h()(e,[{key:”register”,value:function(){this._registerPlugin(“YoastMarkdownPlugin”,{status:”ready”}),this._registerModification(“content”,this.parseMarkdown.bind(this),”YoastMarkdownPlugin”,1)}},{key:”parseMarkdown”,value:function(e){return fe()(e)}}]),e}(),he=n(38),me=n(123),be=n(151),ye=n(167),we=jQuery;function Oe(e,t){return wpseoScriptData.metabox.publish_box.labels[e][t]||””}function ve(e,t){var n=we(“#”+e+”-score”),r=”image yoast-logo svg “+t;n.children(“.image”).attr(“class”,r);var i=Oe(e,t);n.children(“.score-text”).html(i)}function _e(e,t){var n=we(“<div />”,{class:”misc-pub-section yoast yoast-seo-score “+e+”-score”,id:e+”-score”}),r=we(“<span />”,{class:”score-text”,html:Oe(e,t)}),i=we(“<span>”).attr(“class”,”image yoast-logo svg na”);n.append(i).append(r),we(“#yoast-seo-publishbox-section”).prepend(n)}function Ee(e){var t=we(“#wpadminbar”),n=we(e);if(t&&n){var r=”fixed”===t.css(“position”)?t.height():0;we([document.documentElement,document.body]).animate({scrollTop:n.offset().top-r},1e3),n.focus(),0===n.parent().siblings().length&&n.click()}}function Se(){wpseoScriptData.metabox.keywordAnalysisActive&&_e(“keyword”,”na”),wpseoScriptData.metabox.contentAnalysisActive&&_e(“content”,”na”),we(“#content-score”).on(“click”,”[href=’#yoast-readability-analysis-collapsible-metabox’]”,(function(e){e.preventDefault(),document.querySelector(“#wpseo-meta-tab-readability”).click(),Ee(“#wpseo-meta-section-readability”)})),we(“#keyword-score”).on(“click”,”[href=’#yoast-seo-analysis-collapsible-metabox’]”,(function(e){e.preventDefault(),Ee(“#yoast-seo-analysis-collapsible-metabox”)}))}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)};var je=n(109),Te=n(105),ke=n(118),xe=n(86),Pe=n(188),De=n(10),Ae=n.n(De),Re=n(71),Ie=n(227),Ce=n.n(Ie),Me=n(97),Ne=n(42),Le=n(55);function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){Ae()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be,Ye,Ke=he.tmceId,Ve=jQuery,qe=(Be=Object(Me.a)(),Ye=new Ce.a(Be),Object(j.isEmpty)(Be)&&(Ye=new Ce.a({domain:”js-text-analysis”,locale_data:{“js-text-analysis”:{“”:{}}}})),Ye),We=function(e){“object”===(“undefined”==typeof CKEDITOR?”undefined”:se()(CKEDITOR))&&console.warn(“YoastSEO currently doesn’t support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE.”),this._data=e.data,this._store=e.store};We.prototype.getData=function(){var e=this._data.getData(),t=this._store.getState(),n={keyword:Object(Le.a)()?this.getKeyword():””,meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:Object(Re.a)(this.getSnippetTitle())},r={metaTitle:Object(j.get)(t,[“analysisData”,”snippet”,”title”],this.getSnippetTitle()),url:Object(j.get)(t,[“snippetEditor”,”data”,”slug”],e.slug),meta:this.getMetaDescForAnalysis(t)};return Fe(Fe({},n),r)},We.prototype.getKeyword=function(){return document.getElementById(“yoast_wpseo_focuskw”)&&document.getElementById(“yoast_wpseo_focuskw”).value||””},We.prototype.getMetaDescForAnalysis=function(e){var t=Object(j.get)(e,[“analysisData”,”snippet”,”description”],this.getSnippetMeta());return””!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+” – “+t),t},We.prototype.getMeta=function(){return document.getElementById(“yoast_wpseo_metadesc”)&&document.getElementById(“yoast_wpseo_metadesc”).value||””},We.prototype.getText=function(){return ne.markers.removeMarks(he.getContentTinyMce(Ke))},We.prototype.getTitle=function(){return document.getElementById(“title”)&&document.getElementById(“title”).value||””},We.prototype.getUrl=function(){var e=Object(S.select)(“core/editor”);if(e)return e.getCurrentPostAttribute(“slug”);var t=””,n=Ve(“#new-post-slug”);return 0<n.length?t=n.val():null!==document.getElementById(“editable-post-name-full”)&&(t=document.getElementById(“editable-post-name-full”).textContent),t},We.prototype.getExcerpt=function(){var e=””;return null!==document.getElementById(“excerpt”)&&(e=document.getElementById(“excerpt”)&&document.getElementById(“excerpt”).value||””),e},We.prototype.getSnippetTitle=function(){return document.getElementById(“yoast_wpseo_title”)&&document.getElementById(“yoast_wpseo_title”).value||””},We.prototype.getSnippetMeta=function(){return document.getElementById(“yoast_wpseo_metadesc”)&&document.getElementById(“yoast_wpseo_metadesc”).value||””},We.prototype.getSnippetCite=function(){return this.getUrl()||””},We.prototype.getPrimaryCategory=function(){var e=””,t=Ve(“#category-all”).find(“ul.categorychecklist”),n=t.find(“li input:checked”);if(1===n.length)return this.getCategoryName(n.parent());var r=t.find(“.wpseo-primary-term > label”);return r.length?e=this.getCategoryName(r):e},We.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},We.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},We.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},We.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),Ve.trim(t.text())},We.prototype.setDataFromSnippet=function(e,t){switch(t){case”snippet_meta”:document.getElementById(“yoast_wpseo_metadesc”).value=e;break;case”snippet_cite”:if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById(“post_name”)&&(document.getElementById(“post_name”).value=e),null!==document.getElementById(“editable-post-name”)&&null!==document.getElementById(“editable-post-name-full”)&&(document.getElementById(“editable-post-name”).textContent=e,document.getElementById(“editable-post-name-full”).textContent=e);break;case”snippet_title”:document.getElementById(“yoast_wpseo_title”).value=e}},We.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,”snippet_title”),this.setDataFromSnippet(e.urlPath,”snippet_cite”),this.setDataFromSnippet(e.metaDesc,”snippet_meta”)},We.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},We.prototype.changeElementEventBinder=function(e){for(var t=[“#yoast-wpseo-primary-category”,’.categorychecklist input[name=”post_category[]”]’],n=0;n<t.length;n++)Ve(t[n]).on(“change”,e)},We.prototype.inputElementEventBinder=function(e){for(var t=[“excerpt”,”content”,”title”],n=0;n<t.length;n++)null!==document.getElementById(t[n])&&document.getElementById(t[n]).addEventListener(“input”,e);he.tinyMceEventBinder(e,Ke)},We.prototype.saveScores=function(e,t){var n=Object(Ne.a)(e);ve(“content”,n.className),document.getElementById(“yoast_wpseo_linkdex”).value=e,””===t&&(n.className=”na”,n.screenReaderText=qe.dgettext(“js-text-analysis”,”Enter a focus keyphrase to calculate the SEO score”)),Object(je.a)(n),Object(Te.a)(n),ve(“keyword”,n.className),jQuery(window).trigger(“YoastSEO:numericScore”,e)},We.prototype.saveContentScore=function(e){var t=Object(Ne.a)(e);ve(“content”,t.className),Object(Le.a)()||(Object(je.a)(t),Object(Te.a)(t)),Ve(“#yoast_wpseo_content_score”).val(e)};var ze=We,$e=n(65),Ge=n(106),He=n(189),Qe=n(178),Ze=n(104),Xe=n(72),Je=n(190),et=n(60),tt=n(45),nt=n(17),rt=n(61),it=n(59);function ot(e,t,n){if(“undefined”!=typeof wpseoScriptData){var i,o,a,s,c,u=new He.a;jQuery(document).on(“ajaxComplete”,(function(e,n,r){if(“/admin-ajax.php”===r.url.substr(0-“/admin-ajax.php”.length)&&”string”==typeof r.data&&-1!==r.data.indexOf(“action=sample-permalink”)){s.leavePostNameUntouched=!0;var i={slug:l(n)};t.dispatch(Object(nt.k)(i))}})),function(){var c,l,h,m;if(i=e(“#wpseo_meta”),he.setStore(t),he.wpTextViewOnInitCheck(),(c=new me.a).isClassicEditorHidden()&&he.disableMarkerButtons(),c.vcActive?he.disableMarkerButtons():c.listen({classicEditorHidden:function(){he.disableMarkerButtons()},classicEditorShown:function(){he.isTextViewActive()||he.enableMarkerButtons()}}),0!==i.length){s=function(e){var n=new ze({data:e,store:t});return n.leavePostNameUntouched=!1,n}(n),Se();var b=function(t){!function(e){(void 0===window.tinyMCE||Object(ee.a)()||”1″!==wpseoScriptData.metabox.show_markers)&&e.dispatch(Object(tt.b)(“disabled”))}(t);var n,r={elementTarget:[he.tmceId,”yoast_wpseo_focuskw_text_input”,”yoast_wpseo_metadesc”,”excerpt”,”editable-post-name”,”editable-post-name-full”],targets:(n={},Object(Le.a)()&&(n.output=”does-not-really-exist-but-it-needs-something”),Object($e.a)()&&(n.contentOutput=”also-does-not-really-exist-but-it-needs-something”),n),callbacks:{getData:s.getData.bind(s)},locale:wpseoScriptData.metabox.contentLocale,marker:Object(Qe.a)(t),contentAnalysisActive:Object($e.a)(),keywordAnalysisActive:Object(Le.a)(),hasSnippetPreview:!1,debouncedRefresh:!1,researcher:new window.yoast.Researcher.default};Object(Le.a)()&&(t.dispatch(Object(et.d)(e(“#yoast_wpseo_focuskw”).val())),r.callbacks.saveScores=s.saveScores.bind(s),r.callbacks.updatedKeywordsResults=function(e){var n=t.getState().focusKeyword;t.dispatch(Object(re.setSeoResultsForKeyword)(n,e)),t.dispatch(Object(nt.h)())}),Object($e.a)()&&(r.callbacks.saveContentScore=s.saveContentScore.bind(s),r.callbacks.updatedContentResults=function(e){t.dispatch(Object(re.setReadabilityResults)(e)),t.dispatch(Object(nt.h)())}),o=e(“#title”);var i=Object(Me.a)();return Object(j.isUndefined)(i)||Object(j.isUndefined)(i.domain)||(r.translations=i),r}(t);a=new ne.App(b),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=a,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=Object(ke.a)(),window.YoastSEO.analysis.collectData=function(){return Object(Pe.a)(n,t,u,a.pluggable,Object(S.select)(“core/block-editor”))},window.YoastSEO.analysis.applyMarks=function(e,t){return Object(Qe.a)()(e,t)},window.YoastSEO.app.refresh=Object(j.debounce)((function(){return Object(xe.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,s)}),Ze.refreshDelay),window.YoastSEO.app.registerCustomDataCallback=u.register,window.YoastSEO.app.pluggable=new be.a(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=function(e,t,n){if(!Object(j.isUndefined)(a.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(a.defaultSeoAssessor,e,t,n)&&window.YoastSEO.app.pluggable._registerAssessment(a.cornerStoneSeoAssessor,e,t,n)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(Xe.a),window.YoastSEO.app.refresh()},Object(Je.a)(a.refresh,”get_focus_keyword_usage”,t),t.subscribe(p.bind(null,t,a.refresh)),window.YoastSEO.analyzerArgs=b,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new oe.a(a,t),window.YoastSEO.wp.shortcodePlugin=new de({registerPlugin:a.registerPlugin,registerModification:a.registerModification,pluginReady:a.pluginReady,pluginReloaded:a.pluginReloaded}),wpseoScriptData.metabox.markdownEnabled&&new ge(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=he,Object(Le.a)()&&(l=r,h=e(“#yoast_wpseo_linkdex”).val(),m=Object(Ne.a)(h),Object(je.a)(m),Object(Te.a)(m),l.updateScore(“keyword”,m.className)),Object($e.a)()&&function(t){var n=e(“#yoast_wpseo_content_score”).val(),r=Object(Ne.a)(n);Object(Te.a)(r),t.updateScore(“content”,r.className)}(r),window.YoastSEO.analysis.worker.initialize(Object(ke.b)()).then((function(){jQuery(window).trigger(“YoastSEO:ready”)})).catch(Xe.a),s.bindElementEvents(Object(j.debounce)((function(){return Object(xe.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,s)}),Ze.refreshDelay)),d(a);var y=a.initAssessorPresenters.bind(a);a.initAssessorPresenters=function(){y(),d(a)},n.setRefresh&&n.setRefresh(a.refresh);var w=Ge.a.getDataFromCollector(s),O=Ge.a.getTemplatesFromL10n(wpseoScriptData.metabox);w=Ge.a.getDataWithTemplates(w,O),t.dispatch(Object(nt.k)(w)),t.dispatch(Object(it.e)(“1″===document.getElementById(“yoast_wpseo_is_cornerstone”).value));var v=t.getState().focusKeyword;Object(ye.a)(window.YoastSEO.analysis.worker.runResearch,t,v);var _=Object(j.debounce)((function(){a.refresh()}),50),E=null;if(t.subscribe((function(){var n=t.getState().focusKeyword;v!==n&&(v=n,Object(ye.a)(window.YoastSEO.analysis.worker.runResearch,t,v),e(“#yoast_wpseo_focuskw”).val(v),_());var r=Ge.a.getDataFromStore(t),i=Ge.a.getDataWithoutTemplates(r,O);w.title!==r.title&&s.setDataFromSnippet(i.title,”snippet_title”),w.slug!==r.slug&&s.setDataFromSnippet(i.slug,”snippet_cite”),w.description!==r.description&&s.setDataFromSnippet(i.description,”snippet_meta”);var o=t.getState();E!==o.isCornerstone&&(E=o.isCornerstone,document.getElementById(“yoast_wpseo_is_cornerstone”).value=o.isCornerstone,a.changeAssessorOptions({useCornerstone:o.isCornerstone})),w.title=r.title,w.slug=r.slug,w.description=r.description})),Object(ee.a)()){var T=g();f(T,t),Object(S.subscribe)((function(){var e=g();e!==T&&f(T=e,t)}))}Object(xe.initializationDone)(),window.YoastSEO.app.refresh()}}()}function l(e){return””===e.responseText?o.val():jQuery(“<div>”+e.responseText+”</div>”).find(“#editable-post-name-full”).text()}function d(e){Object(j.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),Object(j.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}function p(e,t){var n=c||””;c=e.getState().analysisData.snippet,!Object(ie.isShallowEqualObjects)(n,c)&&t()}function f(e,t){“visual”!==e?t.dispatch(Object(tt.b)(“disabled”)):t.dispatch(Object(tt.b)(“enabled”))}function g(){return Object(S.select)(“core/edit-post”).getEditorMode()}}Object(rt.setYoastComponentsL10n)(),Object(rt.setWordPressSeoL10n)(),window.YoastReplaceVarPlugin=oe.a,window.YoastShortcodePlugin=de;var at=n(80),st=n.n(at);var ct=n(154),ut=n(155),lt=n(191),dt=n(185);window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},a()((function(){Object(u.a)(c.a),”undefined”!=typeof wpseoPrimaryCategoryL10n&&te(c.a);var e=Object(lt.a)();window.yoast.initEditorIntegration(e);var t=new window.yoast.EditorData((function(){}),e);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars),ot(c.a,e,t),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&function(e){var t,n,r,i=function(e){this._app=e,this.featuredImage=null,this.pluginName=”addFeaturedImagePlugin”,this.registerPlugin(),this.registerModifications()};function o(){e(“#yst_opengraph_image_warning”).remove(),n.removeClass(“yoast-opengraph-image-notice”)}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:”ready”})},i.prototype.registerModifications=function(){this._app.registerModification(“content”,this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var a,s,c=wp.media.featuredImage.frame();”undefined”!=typeof YoastSEO&&(t=new i(YoastSEO.app),n=e(“#postimagediv”),r=n.find(“.hndle”),c.on(“select”,(function(){var i,a,s;!function(t){var i=t.state().get(“selection”).first().toJSON();i.width<200||i.height<200?0===e(“#yst_opengraph_image_warning”).length&&(e(‘<div id=”yst_opengraph_image_warning” class=”notice notice-error notice-alt”><p>’+wpseoScriptData.featuredImage.featured_image_notice+”</p></div>”).insertAfter(r),n.addClass(“yoast-opengraph-image-notice”),st()(wpseoScriptData.featuredImage.featured_image_notice,”assertive”)):o()}(c),s=(a=c.state().get(“selection”).first()).get(“alt”),i=’‘,t.setFeaturedImage(i)})),n.on(“click”,”#remove-post-thumbnail”,(function(){t.removeFeaturedImage(),o()})),void 0!==e(“#set-post-thumbnail > img”).prop(“src”)&&t.setFeaturedImage(e(“#set-post-thumbnail “).html()),Object(ee.a)()&&Object(S.subscribe)((function(){var e=Object(S.select)(“core/editor”).getEditedPostAttribute(“featured_media”);if(function(e){return”number”==typeof e&&e>0}(e)&&void 0!==(a=Object(S.select)(“core”).getMedia(e))&&a!==s){s=a;var n=’
‘);t.setFeaturedImage(n)}})))}(c.a),Object(ct.a)(c.a),Object(ut.a)(c.a),setTimeout(dt.a,500)}))}]);
Cant edit template. When I press edit it shows “[tdc_zone type=”tdc_footer”][vc_row full_width="stretch_row_1400 td-stretch-content" tdc_css="eyJhbGwiOnsiYmFja2dyb3VuZC1jb2xvciI6IiNlOGVmZWYiLCJkaXNwbGF5IjoiIn19"][vc_column][vc_separator…” like this
Hello!
This is the CSS which you need to add it there: https://www.screencast.com/t/kH2KZSty
Thank you!

Hello, I can not update background image in tab called CSS. Please help me! Thank you.
Hello Calin, thanks a lot for your support, the first way works well, for the second way
what is the css code to write in the custom css in (theme panel) and how to set this class for all paragraphs?
SINGLE POST VIEWS element was added to single post template. It was removed it since we dont need it actually. Not i added it, but hide it with CSS because we definitely dont want it visible. Will it still work if it is hidden with CSS?
I actually prefer to use other option – RANDOM POST FROM LAST 7 DAYS.
The option that you refereed 7 DAYS SORTING was enable, i know that must be ON. But still does not show anything when i choose it.
Please check my website, we remove all necessary elements as date, post view etc. maybe it is because of some of them?
It is strange for me that this option does not work properly, i mean dates of posts are in WP database anyway, selecting random post from last 7 days should be a problem at all…I am a little disappointing so far with the theme, too much complicated and not structured well.
-
This reply was modified 4 years by
Hotcars.
Hi jcmlny,
I understand, and I was able to recreate once that problem, but for me that css fixed the problem, now the fix and test were made using the chrome browser on a screen with a normal resolution on on 1080px, on iPad it can be a little different.
We’ll make some more investigations for this situation.
Thank you for your understanding!
Hi, Calin. We solved the errors but it didnt affect the background ad.
We did some steps, listed as below:
1. Removed all the custom css from the theme panel.
Result: background ad works but layout gets messy.
2. Deactivated all the plugins non-related to the theme.
Result: nothing changed.
3. Removed all custom ads from all the ads slots (Ads Tab / Mobile Theme Tab)
Result: nothing changed.
4. Removed all the custom JS/CSS
Result: nothing changed.
As we mentioned before, looks like this piece of css is the problem:
@media (min-width: 1180px){
.td-boxed-layout #td-outer-wrap {
width: 1071px!important;
}
.td-boxed-layout #td-outer-wrap {
position: relative;
top: 120px;
margin-bottom: 120px;
display: block;
margin: 0 auto;
}
}
Can you help us out? I can share the login credentials to our wp-admin panel.
Hi Calin, thank you for your response, but this does not fix the problem, I think the problem is that Ipads Pro 12.9inch when you open a website on the browser, Safari, chrome , … they dont use the Ipad (mobile) layout css, I mean, the browser shows a full desktop version (responsive) so the problem seems to be with the responsive layout css on the landscape version on the ipads pro, you can also see it and tested on the browser if you select (iPad Pro) and then you rotate to (landscape), I hope you understand what I am trying to say, đ
Hello,
On the title, you have set the title tag H3 which set a margin-top, so if you want to have the icon and text inline, you need to set the title tag SEO on the DIV or to use a custom code CSS
.single .tdm-title {
margin-top: 10px!important;
}
This code needs to be set in Theme Panel -> Custom Code -> Custom CSS.
Thank you!
Hello,
You can define the width for the column in the tab called “CSS” => https://i.imgur.com/6qOocOz.png
Thank you!
Maybe you can help me with the JS and CSS files are used in TagDiv Slide Gallery. And I’ll try excluding some of them to fix the problem.
Hi healthcarebusinessclub, I think that there can be more solutions for this, but the one that I have in my mind it is related to a css that need to be added for the RTL text, something like in this example https://codepen.io/citizen0501/pen/OVxJjv in case that this is not working, you can add a class like this one https://i.imgur.com/80hFNDg.png and set a css like this one https://i.imgur.com/Q2MfdOs.png (the css need to be set in the theme panel custom code> custom css) then set that class for all paragraphs.
I hope it will help you.
Hi tonyaiex,
I just made a test with Newspaper v11.2 and for me the background ads it is working, but on your website I see that you have a lot of errors https://i.imgur.com/6y9X7ok.png so if your background ad it is still set like in our guide https://forum.tagdiv.com/background-ads, then, please make a test using only tagDiv plugins, also if you use a child theme, set the main theme and make sure that you do not us extra code (extra css).
Let us know the results!
Hi jcmlny, now I see the problem that you were referring, what you can do for that problem it is to add a custom css like this one
@media only screen and (orientation: landscape) {
.tdb-menu .tdb-mega-menu .sub-menu, .tdb-menu .tdb-mega-menu .sub-menu > li {
left: 10%;
}
}
Set this code in the theme panel in this place -> https://i.imgur.com/iWStdjq.png
This should help you!
Let me know the results!
Hi,
In that section it looks that you have set 2 rows that have set in css tab an margin and parading https://i.imgur.com/OSQ7r9u.png you can remove it using tagDiv Composer https://i.imgur.com/Gdy2qhJ.jpg go in the bottom and use the right click on the row to delete them https://i.imgur.com/bu8AR9f.png or click on them and check the css tab -> https://i.imgur.com/lnX0vTf.png remove the numbers.
Let me know the results!