Awesome, thanks!
It’s definitely something that is happening if you use Gutenberg. The way I get around it is to Save the article, go back to all posts, click back into the article, and then Yoast should recognize the links. This probably should be looked into more.
In theory it works, but when you change categories to use the template it just repeats the same six. You can see the template working here:
https://www.vitalthrills.com/tdb_templates/category-template-1-2/
Can I request that as an option? The ability for Post Loops to have an ad tab where you select an ad after a certain amount of posts each time? Unless there’s some other solution.
Nevermind, I see them now! It was a caching issue.
This is brilliant, thank you. I see the ads on mobile’s category and tag pages. I don’t see them on the home page (only the first ad) and the second page. They don’t start showing up until the third page and on. Is that something with my code? I tried using the is_home() command.
$adcounter++;
if (is_home() or is_category() or is_archive()) {
if ($adcounter == 10 or $adcounter == 15 or $adcounter == 20) {
echo td_global_blocks::get_instance(‘td_block_ad_box_mob’)->render(array(‘spot_id’ => ‘loop_mob’));;
}
}
I never thought about this, but I can probably accomplish the above by offsetting posts and just using more posts loops? That would at least work on desktop.
Any thoughts on my second comment? This code is based on multiple previous conversations on this forum that have been answered by tagDiv employees. Thanks.
I’m trying this in loop.php, but it’s not doing anything.
$adcounter++; if (is_category() or is_archive()) { if ($adcounter == 5 or $adcounter == 10 or $adcounter == 15 or $adcounter == 20) {
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
}
}
Site: https://www.vitalthrills.com
-
This reply was modified 6 years by
mparlevliet.
Has there been any progress on adding this ability on both desktop post loops and more than just one loop ad on mobile?
I have this same problem. I can change the font for each image using the “Description text” in the Smart List cloud template, but there is no such option for the intro text at the start. And it’s not the same font size/line height as the general font settings.
https://www.vitalthrills.com/2019/04/05/2019-summer-movie-preview/
Got it, thanks for the explanation.
That doesn’t answer my question though. I’m talking about Desktop, not mobile/amp pages.
That is all enabled, but I’m talking about Desktop, not mobile. Do you have an English version of that link at Google?
Perfect, thank you. This fixed it.
This is how the “More” pulldown menu should look in the sticky menu.
https://www.vitalthrills.com/wp-content/uploads/2019/11/stickymenunormal.jpg
This is how it looks on Posts and Categories.
https://www.vitalthrills.com/wp-content/uploads/2019/11/stickymenucondensed.jpg
Clearing the browsers’ caches solved some of these issues. Still seeing #3, but it’s not that big of a deal I guess.
Thanks for taking a look.
Those options are gone in the theme panel once you remove the Standard Pack. Is there a way to still manipulate that font with that option being gone?
I agree, the Newspaper Theme needs this option for desktop.
I’m having this same problem. If I select any other Block Header, I can change the fonts using the tagDiv composer in pages and cloud templates. If I choose “Block Header 1 – Default,” any changes made in the style tab on blocks doesn’t change how the text looks.
Please ignore #4, as I went ahead and switched out the Flex Block 1 to a Posts Loop, which doesn’t have Ajax.
I fixed the sticky menu from appearing on the right by setting the sticky menu mega menu to “Relative to menu.” That seems like only a temporary fix as the normal menu is set to “Relative to screen” and is showing fine. Any thoughts on this?
I turned off the standard pack, but I’m still seeing issues with the menu and other things:
1. In all browsers, when you first load the page, the height of the main red menu is really high for a second, then it snaps back to the proper height. Is this normal?
2. In Safari, the sticky menu on the home page (https://www.vitalthrills.com) does not pull down the posts or the “More” submenu. That seems to work fine in other browsers.
3. In all the browsers on posts (example: https://www.vitalthrills.com/2019/11/15/frozen-2-cast-and-crew-on-the-sequel/), the sticky menu “More” submenu items text seem to be squished and not each on one line. They are on one line in the normal menu.
4. Also in Safari, on the home page (https://www.vitalthrills.com), the Ajax Categories in the “Latest Articles” section (Flex Block 1) do not work, but they work in all other browsers.
That makes a lot of sense. I didn’t think about doing the sidebar in pages and cloud templates themselves.
I’m curious about this as well. Not having any kind of blocks in widgets keeps me from moving forward with deactivating the Standard Pack.
Okay, I think I fixed a lot of those issues (except for the white bar under the footer), but now I’m encountering another problem on Safari and Microsoft Edge that is not on Chrome and Safari. When you mouse over the sticky menu in a post (not on a normal page), the articles in the mega menu that show below are aligned to the right.
-
This reply was modified 6 years by
mparlevliet.