- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hello Anamaria,
Thank you for sharing the information. What you described that all I know it. The interface provided in the theme to changing fonts and colors block wise will take lots of time. I am not sure what is the logic behind to provide facility for each block/post instead of Global option.
Thank you.
Hello!
If you use default template, then make sure you have the Standard Pack plugin installed and active.
Otherwise, add a flex block, go to the filter tab of the element’s settings and from the dropdown category filter you can choose between: Single – More from author, Single – Related by category, Single – Related from tags.
Thank you!
Hello!
I recommend you not to use more than one Posts Loop per page. For example you can use Flex Block elements. If you have 2 flex blocks with the same settings and they are displaying the same posts, then you can use an offset and a limit for the flex blocks. For example: 1 block with the limit posts: 2 and the second one with the limit posts: 2 and offset: 2, if you would like the 3rd one then you set limit posts: 2 and offset 4, etc.
Thank you!
I can’t get ads from Google to display on my sidebar. Here’s what I did: I’ve pasted adsense code in the sidebar ad section of the theme panel (https://prnt.sc/1sesopr), and I’ve added the tag div ad block widget to my sidebar and selected “use adspot from sidebar” (https://prnt.sc/1sestfv). Am I missing anything? It’s been a couple days already, so ads should be showing up by now. Site is bestforhome.com.au. A little help?
Hello,
You have a pro, so the changes from the Theme Panel for fonts and colors will not apply, to change the font on block/post you can edit with tagDiv Composer -> https://prnt.sc/10grx77, select the block/post and in Style, you can change the font => https://www.screencast.com/t/sUE7ug4UIAR5 and color => https://i.imgur.com/Lc559Rz.png
This is a video about how to change the fonts => https://www.youtube.com/watch?v=rbkYVyj1__Q
Hope this helps you!
Thank you!
Hello,
You can change the block header with tagDiv Composer, edit the page, select the block and in the tab called “General” is an option for block header, where you can change it https://i.imgur.com/Eddq0lI.png
Thank you!
Hello,
You can edit with tagDiv Composer, select the block and in the tab called “Style” you should be able to make these changes on each block (module) => https://i.imgur.com/lOMpEQu.png
Thank you!
Hi gmtimothy, this can be done on page using tagDiv Composer, just select the blocks you like and filter them after each category -> https://i.imgur.com/PMHK2v5.jpg -> https://i.imgur.com/cc7ShEf.png you can check more about the blocks options in our guide from here https://forum.tagdiv.com/newsmag-block-settings-tutorial/
I hope this will help you!
Hello,
If the shortcode is “Text block”, it will work and be displayed.
It is not displayed if it is “HTML code”.
Is there a way to embed a shortcode from “HTML code”?
At “Version: 9.7.2”, the shortcode worked fine with “HTML Code”, but at “Version: 11.2” it doesn’t work.
http://sbn.japaho.com/short-code-test/
https://drive.google.com/file/d/1PMg2FwyiYY62Fp0lEPZUKA3ypdxiMei3/view?usp=sharing
https://drive.google.com/file/d/17ASdU57–TKibTMkzm9PkBEGe0I_Nbg0/view?usp=sharing
https://drive.google.com/file/d/1FEAzzWIlurFrz1K2naOJlU_HlcPTiHXj/view?usp=sharing
How can I show the categories next to the BLOCK HEADER 2 title like shown here: https://demo.tagdiv.com/newspaper/block-header-2/
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)}))}]);
I am using the cloud template for our post template. Which block element would I add to display the specific post content by category or by post id? Your response of “add some text with the elements TagDiv Composer” is not very clear in adding the post. There does not seem to be a block element that will accomplish this that I see.
Please advise.
-
This reply was modified 4 years by
Bill Fleak.
Hi team,
im getting various server error on my newspaper theme. it doesnt show any error on the site but it feels like something breaking the cpu usage when few people editing or writing posts and it makes the load very slow.
[14-Sep-2021 13:50:58 UTC] PHP Fatal error: Uncaught Error: Class 'tdc_composer_block' not found in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php:9
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php on line 9
[14-Sep-2021 16:19:30 UTC] PHP Fatal error: Uncaught Error: Class 'td_style' not found in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_social/tds_social3.php:9
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_social/tds_social3.php on line 9
[14-Sep-2021 20:50:08 UTC] PHP Fatal error: Uncaught Error: Class 'td_panel_generator' not found in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/panel/views/td_panel_custom_code.php:3
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/panel/views/td_panel_custom_code.php on line 3
[15-Sep-2021 01:12:50 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 01:22:11 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 01:39:09 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 01:45:26 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 01:51:37 UTC] PHP Fatal error: Uncaught Error: Class 'WP_Widget' not found in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block_widget.php:7
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block_widget.php on line 7
[15-Sep-2021 02:06:49 UTC] PHP Fatal error: Uncaught Error: Class 'td_style' not found in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_title_over_image/tds_title_over_image1.php:9
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/id/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_title_over_image/tds_title_over_image1.php on line 9
[15-Sep-2021 04:27:16 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 04:32:10 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
[15-Sep-2021 05:15:36 UTC] PHP Fatal error: Uncaught Error: Class 'td_style' not found in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_social/tds_social5.php:9
Stack trace:
#0 {main}
thrown in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-composer/td-multi-purpose/styles/tds_social/tds_social5.php on line 9
[15-Sep-2021 06:19:55 UTC] PHP Notice: Undefined index: date in /home/xxxxxxxxx/public_html/blog/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php on line 223
please help me to fix this issue, im on the latest version on wordpress and the newspaper theme
Hello, I would like to know what I have to change so that on this page
https://www.radiomarcabarcelona.com/ultimos-audios/
I get a bar with a widget where I have advertising blocks.
I have tried modifying the options in Template Settings (attached photo Template) but I see that the bar does not load with the Widget.
How can I show the bar on the page (attached photo, Widget)?
https://www.radiomarcabarcelona.com/goodnews-design/Template.png
https://www.radiomarcabarcelona.com/goodnews-design/Widget.png
Thanks
Hi,
I have reset and reactivated the template. I cleared the cache from my site and cleared the history from all browsers I have. Unfortunately, the problem repeats itself.
Last night the homepage managed to unblock, but now the homepage is locked again from this screen. It is not normal for TagDiv to take over the homepage.
Hi, filter “Popular last 7 days” no longer works
in Flex Block since I installed the Super Cache plugin, disabling Autoptimize.
p.s. the 7 days post sorting feature is enabled in Block Settings Theme Panel.

Website: http://www.chiamarsibomber.com
Hello, since the last update, I have detected a failure in the tagDiv, when I insert the block (Columm text) it does not apply the changes made in the option (Edit Concent) I attach video, I hope they solve me or help me to make the correct form.
Video
I have been having trouble forever with Tagdiv composer. This time I am getting an error code on https://www.sweetsharing.com/wp-admin/edit.php . I have checked by disabling all the plugins. It is Tagdiv composer. Disabling the plugin fixes the issue but I can’t for obvious reasons.
Error
rg-editor .editor-styles-wrapper .wp-block2_064, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 > p, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner > p{ font-family:Muli !important;font-size:20px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li{ font-family:Muli !important;font-size:15px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li:before{ margin-top: 1px; line-height: 15px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner blockquote p{ font-family:Parisienne !important;font-size:48px !important;line-height:1.1 !important;text-transform:none !important; color: #ce9079; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 a{ color: #ce9079; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 a:hover{ color: #444444; } /* landscape */ @media (min-width: 1019px) and (max-width: 1140px){ .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 > p, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner > p{ font-family:Muli !important;font-size:14px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li{ font-family:Muli !important;font-size:14px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li:before{ margin-top: 1px; line-height: 14px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner blockquote p{ font-family:Parisienne !important;font-size:40px !important;line-height:1.1 !important;text-transform:none !important; } } /* portrait */ @media (min-width: 768px) and (max-width: 1018px){ .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 > p, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner > p{ font-family:Muli !important;font-size:13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li{ font-family:Muli !important;font-size:13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li:before{ margin-top: 1px; line-height: 13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner blockquote p{ font-family:Parisienne !important;font-size:36px !important;line-height:1.1 !important;text-transform:none !important; } } /* phone */ @media (max-width: 767px){ .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 > p, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner > p{ font-family:Muli !important;font-size:13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li{ font-family:Muli !important;font-size:13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 li:before{ margin-top: 1px; line-height: 13px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_064 .tdb-block-inner blockquote p{ font-family:Parisienne !important;font-size:30px !important;line-height:1.1 !important;text-transform:none !important; } }
Hi Guys,
I have show category turned off on my flex blocks because they are in black.
Is there a way to colour them in flex blocks please, as per their category colour ?
Kind Regards
Mark
Thank you for your reply.
As a commercial theme, I expected it to be fully compatible with a WordPress basic feature.
I suggest you work on a solution to fix this to your to-do list.
A page break block in tagDiv Composer, perhaps?
Best
Hello,
Thank you for your reply. Unfortunately she cannot solve my concern. I followed this tutorial for the creation of the home page or even the other pages / categories of my site. But, as I told you, I cannot assign a template to the page attached above because it was created by an extension. They do not exist in the pages category. I find it to insert it in the menus for example. But with tagdiv I don’t know how to edit it. In the image, we see that the page has taken the template model of the site. Do you have a way to find out where this page is located? Is it possible to edit it in some other way? Or can I create a template and add the extension in a “block” when composing?
Hi.
I implemented this but none of my posts show. Does it require time to populate or should it be instant. I don’t use a caching plugin.
https://paste.pics/54433b2945ddb9410963c202f6d3c5f4
The block where the posts are supposed to appear just disappears
https://paste.pics/29abeaf20569e645c35cc79d7ff56531
This is how it looks when I filter for latest
Hello,
As I said you can set on the row only these layouts => https://i.imgur.com/9v8Yvtv.pngfor standard blocks, please check the layout, I saw you set the layout 3/4 +1/4
Please don’t share your credentials on the forum.
Thank you!
Hi,
1. I tried to add a new block to a sidebar — [Newspaper default] by using Widgets, /wp-admin/widgets.php
2. After adding, I clicked Update, and I got this error: There was an error. The response is not a valid JSON response
3. Then I checked on browser debug console, I saw this error: /wp-json/batch/v1?_locale=user 405
I would be grateful if anyone of you would help me to fix the problem.
Thanks.
Hello,
Sorry, i blocked the access yesterday, you can retry now.
Thank you