Search Results for 'amp'

Results from the Forum
thecitylane
Participant
#0

Hi

I’ve noticed recently that the AMP slider gallery on my pages isn’t showing as a slider, but more of a standard WordPress gallery. Can you please check and advise why the AMP slider doesn’t appear to be working any more?

Website Example

Thanks,
Paul

vadoingiappone
Participant
#0

Hi all,
I added the search page on my site but I can’t find an option to esclude all the post of a category (for example uncategorized), the only option is to exlude Post ID, 1×1, in loop post component. There is a way to do this? Or do you think you can include this option in the next release?

Another thing… can be an idea the possibility to add a custom query string on each result of Search Result page? for example an UTM_SOURCE, etc… ?

Thanks
Fabrizio

mira
Participant
#0

Hi,

I am using v.11.2. of the newspaper theme on the site https://www.mallorcalma.com. I do not know when or why this happened, but in the theme panel I am missing various options, like for example the category settings (template, post style, etc). All I can set now is a cloud template and the per category settings. And I am missing setting options, like the article display option in blog and post settings for example.
Also, the changes I am making in the backend seem not to be displayed on the life site. I see them when I am logged in, but when I visit the site on a different browser, I see the old version, even though I have cleared browser cache and cookies.
The H1 heading on posts has the wrong font family, there seems to be no way to change that.

Thank you very much for your help,
kind regards!

arvind9725
Participant
#0

i am using news paper 11.2 and i have activated “mobile theme plugin” but design layout is totally messed up in both mobile & laptop screens.

In desktop : Home page is display correctly, whereas some of the posts display correctly, while some of the post display using “mobile theme” on desktop.
( please see this video https://www.greengujarati.com/wp-content/uploads/2021/09/Desktop_video.mp4 )

In mobile : Home page is display using “Responsive theme”, whereas some of the post display using “Responsive theme” while some of the post display using “mobile theme”. in mobile 2 footers are displaying Responsive theme footer as well as Mobile theme footer.
( please see this video https://www.greengujarati.com/wp-content/uploads/2021/09/Mobile_video.mp4)

In mobile : 1 Post is display using “Responsive theme” while next auto load post display using “mobile theme”
(https://www.greengujarati.com/wp-content/uploads/2021/09/Mobile_snap.jpg)

kindly see both the vieo and snap and please help me for this very critical issue.

I am using “WP Rocket” plugin for caching
I am using “Rank Math SEO” plugin for SEO

kubick
tagDiv Member

I just noticed something. On mobile devices, the responsive version of the website appears, not the mobile one. I am using a plugin for the mobile version of the website and AMP.
Admin access mail sent according to the guidelines.

danvcreative
Participant
504 Errors - topic
#0

Hello,
Recently we’ve been having a lot of issues with 504 errors. I have contacted my host provider and they are telling me is something to do with the theme. I don’t know how to resolve this:

You can see that are a lot of ajax requests for this path that it seems to be theme related:

12727 /wp-admin/admin-ajax.php?td_theme_name=Newsmag&v=3.3.1
2602 /wp-admin/admin-ajax.php
1040 /feed/
745 /
Our website is westfaironline.com

Anamaria
tagDiv Staff

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!

serviceall
Participant
#0

HI, I have a problem with woocommerce checkout page: all the checkboxes in the billing details are not shown (for example, the checkbox associated with “send to a different address” and the mailchimp opt-in checkbox).
I found this style in my checkout pages: .td-woo-default .td-woo-billing input {-webkit-appearance: none;}
If I disable this style, checkboxes appear. How can I change this style on my child-theme to make the checkboxes visible? Thank you

Bettina
tagDiv Staff

Hello!

You can see all the cloud templates in Dashboard -> Cloud templates.
Please check our video tutorial about how to import and assign cloud library templates: https://www.youtube.com/watch?v=6m8-EebnfM0

If you have set up a mobile page you can easily shift or select no mobile pages. But if you delete it, then the mobile page is already there but blank. So, in this case you need to assign another mobile page, and then to select no mobile pages without deleting the previous one. After selecting no mobile pages, you can delete also the mobile pages which you created.
In conclusion, don’t delete first so you will don’t have any issues.

You can duplicate a template/layout for every category/post to have different template, make the specific changes and assign it to that category/post.
Check this topic: https://forum.tagdiv.com/topic/different-logo-in-categorypage/ ; Here I explained step by step how you can duplicate a template.

I just explained in that ticket about posts loop offset and how you can change it to achieve what you need.

For example: If you have the same template for posts, then it’s enough to edit one post with TagDiv Composer, and the changes will apply on every post that has assign the same template: https://www.screencast.com/t/quA3qQaZz8G. This is available also for the categories.

Thank you!

Anamaria
tagDiv Staff

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!

Anamaria
tagDiv Staff

Hello,

This is a plugin at the beginning, and yes, not all Woocommerce functionalities are included but we are trying to add new options according to the clients’ requirements.
1. The tag template will be added in the next update.
2 and 3 I’m not sure I fully understand what you want to achieve, can you provide some examples with screenshots?
4. The footer template does not have the button to be edited with tagDiv Composer in the backend, the footer can be edited only from the frontend if it is assigned, edit a page/post template with tagDiv Composer and go down to the footer. => https://www.screencast.com/t/rpfNhfyrF that page can be private.
5. If you create widgets you can use the element widget sidebar to assign the widgets where you want https://i.imgur.com/C1ITTjV.png

Thank you!

Rigsbyx
tagDiv Member

Okay so, here’s what happens. When I re-add the missing element into the global category homepage template, the main homepage template re-adds the element I want to delete.

In another support ticket, I was recommended that I use Flex Block 5 because I wanted to use a set of 12 Loops (1-12), but lower down the page the copied element with 13-24 didn’t work, and nor did 25-36, and so on.

So, I recreated what I needed with Flex Block 5. As mentioned at the top of this ticket, I haven’t been able to save the element (or delete other saved elements), and so I have been copying the row and pasting it in. There’s nothing wrong with using the copy-paste process. So, all sets of 12 posts work fine and continue on as I want right down the page (1-12, 13-24, 25-36 etc.) Great!

I am using the same method of copy & pasting from one template to another template because I can’t save the element.

Both pages work fine except for the very last element located just above the footer, on both pages. Again, one element reappears and one element is being deleted…

Thanks : )

Bettina
tagDiv Staff

Hello!

For cloud templates, you can use the element called “Ad box” from TagDiv Composer and there you need to add the ads. Edit the homepage with the TagDiv Composer, and add the “Ad box” element in your sidebar with drag & drop.

Thank you!

Bettina
tagDiv Staff

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!

Anamaria
tagDiv Staff

Hello,

Seems you have the Mobile theme plugin activate, when you install and activate the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its own templates for page, post, category, etc so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
Better deactivate the plugin and see the results
Also, if you create a mobile page, please make sure you assign it like this https://www.screencast.com/t/lektAhyjd
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY

Thank you!

Anamaria
tagDiv Staff

Hello,

Yes, you can add your color, the colors given by me are an example.

Thank you!

Calin
tagDiv Staff

Hi BarbaraZ, once that the website was indexed by google, after you use the Yoast seo plugin to remove the cloud templates from google you nee also to re-index your website in this way the cloud templates will be removed from google search results.
About the mobile version, I do not quite understand the problem, are you using the mobile theme plugin and the mobile version it is display on desktop? can you please provide some examples or screenshots.
Thank you!

Allen Clein
Participant
#0

I want to customize the mobile menu page with additional widgets or content. Is this possible? For example, I want to add a search widget inside the mobile menu page.

tsharma
tagDiv Member

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&amp;&amp;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&amp;&amp;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&amp;&amp;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)&amp;&amp;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”)&amp;&amp;e(this).val()===i(r)&amp;&amp;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)()&amp;&amp;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(“\\[[^<>&amp;/\\[\\]\0- =]+?( [^\\]]+?)?\\]”,”g”),ue=new RegExp(“\\[/[^<>&amp;/\\[\\]\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&amp;&amp;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&amp;&amp;(e.addEventListener(“keyup”,t),e.addEventListener(“change”,t)),”undefined”!=typeof tinyMCE&amp;&amp;”function”==typeof tinyMCE.on&amp;&amp;tinyMCE.on(“addEditor”,(function(e){e.editor.on(“change”,t),e.editor.on(“keyup”,t)}))},le.prototype.getContentTinyMCE=function(){var e=document.getElementById(“content”)&amp;&amp;document.getElementById(“content”).value||””;return”undefined”!=typeof tinyMCE&amp;&amp;void 0!==tinyMCE.editors&amp;&amp;0!==tinyMCE.editors.length&amp;&amp;(e=tinyMCE.get(“content”)&amp;&amp;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)&amp;&amp;this.isUnparsedShortcode(r)&amp;&amp;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&amp;&amp;(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)&amp;&amp;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&amp;&amp;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&amp;&amp;n.click()}}function Se(){wpseoScriptData.metabox.keywordAnalysisActive&amp;&amp;_e(“keyword”,”na”),wpseoScriptData.metabox.contentAnalysisActive&amp;&amp;_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&amp;&amp;(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)&amp;&amp;(Ye=new Ce.a({domain:”js-text-analysis”,locale_data:{“js-text-analysis”:{“”:{}}}})),Ye),We=function(e){“object”===(“undefined”==typeof CKEDITOR?”undefined”:se()(CKEDITOR))&amp;&amp;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”)&amp;&amp;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&amp;&amp;(t=wpseoScriptData.metabox.metaDescriptionDate+” – “+t),t},We.prototype.getMeta=function(){return document.getElementById(“yoast_wpseo_metadesc”)&amp;&amp;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”)&amp;&amp;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”)&amp;&amp;(t=document.getElementById(“editable-post-name-full”).textContent),t},We.prototype.getExcerpt=function(){var e=””;return null!==document.getElementById(“excerpt”)&amp;&amp;(e=document.getElementById(“excerpt”)&amp;&amp;document.getElementById(“excerpt”).value||””),e},We.prototype.getSnippetTitle=function(){return document.getElementById(“yoast_wpseo_title”)&amp;&amp;document.getElementById(“yoast_wpseo_title”).value||””},We.prototype.getSnippetMeta=function(){return document.getElementById(“yoast_wpseo_metadesc”)&amp;&amp;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”)&amp;&amp;(document.getElementById(“post_name”).value=e),null!==document.getElementById(“editable-post-name”)&amp;&amp;null!==document.getElementById(“editable-post-name-full”)&amp;&amp;(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])&amp;&amp;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&amp;&amp;(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)&amp;&amp;”string”==typeof r.data&amp;&amp;-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()&amp;&amp;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)&amp;&amp;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)()&amp;&amp;(n.output=”does-not-really-exist-but-it-needs-something”),Object($e.a)()&amp;&amp;(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)()&amp;&amp;(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)()&amp;&amp;(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)&amp;&amp;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&amp;&amp;new ge(a.registerPlugin,a.registerModification).register(),window.YoastSEO.wp._tinyMCEHelper=he,Object(Le.a)()&amp;&amp;(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)()&amp;&amp;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&amp;&amp;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&amp;&amp;(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&amp;&amp;s.setDataFromSnippet(i.title,”snippet_title”),w.slug!==r.slug&amp;&amp;s.setDataFromSnippet(i.slug,”snippet_cite”),w.description!==r.description&amp;&amp;s.setDataFromSnippet(i.description,”snippet_meta”);var o=t.getState();E!==o.isCornerstone&amp;&amp;(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&amp;&amp;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)&amp;&amp;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&amp;&amp;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&amp;&amp;void 0!==window.wpseoScriptData.featuredImage&amp;&amp;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&amp;&amp;(e+=this.featuredImage),e};var a,s,c=wp.media.featuredImage.frame();”undefined”!=typeof YoastSEO&amp;&amp;(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&amp;&amp;(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=’'+s+'‘,t.setFeaturedImage(i)})),n.on(“click”,”#remove-post-thumbnail”,(function(){t.removeFeaturedImage(),o()})),void 0!==e(“#set-post-thumbnail > img”).prop(“src”)&amp;&amp;t.setFeaturedImage(e(“#set-post-thumbnail “).html()),Object(ee.a)()&amp;&amp;Object(S.subscribe)((function(){var e=Object(S.select)(“core/editor”).getEditedPostAttribute(“featured_media”);if(function(e){return”number”==typeof e&amp;&amp;e>0}(e)&amp;&amp;void 0!==(a=Object(S.select)(“core”).getMedia(e))&amp;&amp;a!==s){s=a;var n=’').concat(a.alt_text,'‘);t.setFeaturedImage(n)}})))}(c.a),Object(ct.a)(c.a),Object(ut.a)(c.a),setTimeout(dt.a,500)}))}]);

Bettina
tagDiv Staff

Hello!

If you use Mobile Theme without AMP, please select the option from theme panel -> Mobile theme, only mobile.
Please make sure that you have enabled the proper thumbs with these sizes in order to show the featured images properly, check this: https://www.screencast.com/t/N18dR3qZrh
After activating the thumbnail sizes you need to regenerate your thumbnails using a plugin. Check this: https://forum.tagdiv.com/using-the-theme-with-existing-content/

Thank you!

Bettina
tagDiv Staff

Hello!

If your articles have more than 1 category and the first category is displayed there.
A solution there could be to set a primary category for each article. To do this, you should edit the post normally and set the category you want to be displayed: https://www.screencast.com/t/W3DlctW1 ; then the article will have the category you need there. Please note that this article will appear with the primary category always.(for 2 categories for example)

Thank you!

Bettina
tagDiv Staff

Hello!

When you edit the post normally and add a photo from your gallery for example fill this field from here: https://www.screencast.com/t/YIOWP0NG ; then select the photo and save it. The alt text should be there.
Please edit the post, select the image and make sure you set the title of the image: https://i.imgur.com/YioTS6D.jpg

Thank you!

Tinystepsbabyclub
tagDiv Member

Hi Guys

I am revisiting this request as I need some further support, please.

The advice above is great, and I’ve added my banner image to each of my blog posts at the bottom of each blog (on desktop at the moment). You can see an example here:

https://www.tinystepsbabyclub.co.uk/pregnancy-signs-and-symptoms/

BUT….i need the blog reader to be able to click on the image banner (my ad) and be directed to my store URL (away from my blog). I have the gallery custom link plugin installed, which allows me to add a URL to an image in my media gallery. I’ve done this, but the URL associated to the banner is the destination URL in my WordPress gallery, obviously.

How can I have the reader be able to click through the image to my desired URL (www.tinystepskids.co.uk)?

Here is the code I have used to place the ad banner on my blog page footer:

<div class=”td-all-devices”><image src=”https://www.tinystepsbabyclub.co.uk/wp-content/uploads/2021/09/tiny_steps_kids_banner_for_baby_club.jpg”/&gt;</div>

Thanks guys!
Sarah

jafl
tagDiv Member

Hello!

When I receive Google alerts from my site (www.lawebdeltenis.net)
Inappropriate data appears in the results, for example:
Get Hel, Privacy Policy, Password Recovery, Search

Data that should not appear.
That data appears to be from the template.

The template is Newspaper

Google Alerts

https://www.screencast.com/t/5CycfY0FQ

error 2

https://www.screencast.com/t/C7zwjHHLI

Thanks for the help.

Sorry for the poor english

  • This reply was modified 4 years by jafl.
youfly
tagDiv Member

Hi,
I’m getting back to this request cause it’s exactly what we need too. User mparlevliet is referring to the single post autoload feature. https://prnt.sc/1s9lsup
From your options panel the four options are: “previous posts,” “next posts,” “same category previous,” and “same category next.”. What we are requesting is another option to show the latest articles from the same category (excluding the article that is already shown, of course). So if for example you are at an article that’s the 15th most recent in it’s category, then underneath it we would like to have the ability to show the 1st, then the 2nd and so on.

Viewing 25 results - 8,501 through 8,525 (of 38,683 total)