Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts
How to Fix Publisher Errors, dateModified and datePublished

How to Fix Publisher Errors, dateModified and datePublished

How to Fix Publisher Errors, dateModified and datePublished - Structured Data Testing Tool is a tool to find out the complete information available on our blog or site. This tool will be the information tester of our blog that will be sent to the Google and Yahoo Search Engines. Google, Yahoo and Microsoft all three of them collaborated on schema.org to improve search methods.

How to Fix Publisher Errors, dateModified and datePublished

If you want to check your blog's Structured Data Testing Tool, you can directly open the https://search.google.com/structured-data/testing-tool and enter the homepage only. We recommend that you check first, if you find Error Headline, Image, Publisher, dateModified and datePublished, please read the following method.

How to Fix Publisher Errors, dateModified and datePublished

In the Structured Data Testing Tool you can test or check the data information for your blog. If there is an error, it means that you have not entered the correct information. There are various errors in the Structured Data Testing Tool. And here is how to fix the Structured Data Testing Tool on the blog.

Error Headline "A value for headline field is required"

If you find the message "A value for headline field is required" when checking the data structure, then you can do the method below to fix it.

Look for the code below

<h1 class='post-title entry-title' itemprop='name'>
<h2 class='post-title entry-title' itemprop='name'>
<h3 class='post-title entry-title' itemprop='name'>

And replace with headlines

<h1 class='post-title entry-title' itemprop='headline'>
<h2 class='post-title entry-title' itemprop='headline'>
<h3 class='post-title entry-title' itemprop='headline'>

Maybe h1 can be more than 1, as well as h2 and h3. So if there is itemprop='name' behind it just replace it with itemprop='headline'.

Error Image, Publisher and MainEntityOfPage

If you see an error code "A value for image field is required" and the error code "A value for publisher field is required" fix it by searching for the code below.

<article class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

And after finding it, put the following code under the code

<div itemType='https://schema.org/WebPage' itemprop='mainEntityOfPage' itemscope='itemscope'/>

<b:if cond='data:post.firstImageUrl'>
<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta expr:content='data:post.firstImageUrl' itemprop='url'/>
<meta content='600' itemprop='width'/>
<meta content='300' itemprop='height'/>
</div>
</b:if>
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<meta content='URL BLOG LOGO' itemprop='url'/>  
<meta content='300' itemprop='width'/>  
<meta content='300' itemprop='height'/>
</div>
<meta expr:content='data:blog.title' itemprop='name'/>
</div>

Error DateModified and datePublished

If you find an error on dateModified and datePublished look for the code below.

<a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='updated' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>

And change by adding the code "<span itemprop='dateModified'>" at the beginning and at the end "</span>" which will become like this

<span itemprop='dateModified'>
<a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='updated' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
</span>

If dateModified and datePublished are still errors. Keep using the method above, save the template, then go to Settings >> Language and Formatting then change the three things below.

1. Date Header Format
2. Timestamp format
3. The Comment Time Stamp Format

With the format (Day, Month Date, Year) example Sunday, Sept 10, 2018.

Error Missing Author (hCard "Author")

After all the codes do not appear an error message, usually like Missing Author. You can fix it by searching for the code.

<data:post.body/>

And put the following code below it

 <!-- hCard"author" Start -->
<span class='post-author vcard' style='display:none'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/>
<b:if cond='data:post.authorProfileUrl'>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
<a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
<span itemprop='name'>
<data:post.author/>
</span>
</a>
</span>
<b:else/>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <span itemprop='name'><data:post.author/>
</span>
</span>
</b:if>
</b:if>
</span>
<!-- hCard"author" End -->

The above method is a method that has been tried 100% successfully to fix Headlines, Image, Publisher, MainEntityOfPage, dateModified and datePublished and Author on Structured Data Testing Tool. Actually there are many different errors in the Structured Data Testing Tool. But what was discussed earlier was that 100% tried to work well. Hopefully useful and good luck.
Source of Traffic for Online Shop Website

Source of Traffic for Online Shop Website

Source of Traffic for Online Shop Website - When you have a marketing company website or online shop website, there are many things you have to pay attention to. One of them is related to traffic.

What is meant by traffic? Traffic is the number of visits to online shop websites, forums, news portals, and others. High and targeted traffic will make a business website have more value. In other words, the opportunity to get conversions in the form of transactions is also wide open.

Source of Traffic for Online Shop Website

So, where do the traffic sources for online shop websites come from? Before knowing the source, let's first get to know the following types of website traffic!.

Types of Website Traffic

As a website owner, especially one related to business, you must understand the types of traffic. Here are 6 types of website traffic, namely:

Organic Traffic

Organic traffic is natural audience visits that come from search results on search engines using relevant keywords. So, the audience will type certain queries or keywords in the search column on search engines like Google. Then on the search results page there is your website, then the audience enters from here, then this is what will create organic traffic.

Direct Traffic

Direct traffic, namely traffic that comes from visitors who type the website address into the browser without going through a search in the search field first. This means that the audience already knows and memorizes your website URL. So, they immediately type in the URL.

Referral Traffic

Referral traffic, meaning that audiences visit business websites through external links they find on other collaborating websites, blogs, and social media.

Social Media Traffic

If you look at website traffic data in Google Analytics, you will see that there is a traffic source called Social Media. So, what is this type of traffic? Social media traffic is visitors who click on links that you share via various social media platforms, such as Facebook, Twitter or X, Instagram, LinkedIn, Pinterest, and others.

Paid Traffic

Paid traffic, namely visits that come from paid advertising, such as Google ads, social media ads, or affiliates.

Email Traffic

Email traffic means that audiences visit a business website because they found it in an email marketing message or newsletter they received. This traffic will only be created if you regularly and consistently carry out an email marketing strategy.

7 Sources of Website and Online Store Traffic

After knowing the types of website traffic, now is the time to find out the traffic sources and how to get them below!

Content Marketing

Does your online store site only contain a product catalog and shopping basket? If yes, it's time to give it a new twist to improve the user experience.

To do this, you can apply marketing content in the form of articles or videos. Having content that is relevant, informative and interesting, complete with the use of the right keywords, makes it easier for potential customers to find your business site. Apart from that, using content marketing has many benefits, including:
  • Increases website visibility and brings traffic.
  • Helps build business interactions with visitors.
  • Strengthen and increase brand awareness.


Search Engines

Of course, there are many search engines that you can use in the digital marketing strategic process. However, don't forget the fact that Google is the search engine with the most users in the world, especially internet users in Indonesia.

On this search engine, you can find potential customers and bring a lot of traffic to your website. Note that you have implemented content and SEO techniques appropriately and correctly. Next, to maximize traffic from search engines, try using paid advertising, such as Google ads, which is a paid advertising platform from Google.

Facebook Groups

You are certainly familiar with the social media Facebook, right? Facebook is a platform that provides various features so that internet users can meet, gather, communicate and socialize.

At the same time, Facebook also provides a Facebook group feature to gather people who have the same interest in something. Through this feature, you can use it as an alternative traffic source for your online shop or business website. For example, your website sells various gadgets. So, you can search for and join groups that suit that niche.

Once you're in a product-relevant group, start sharing the business site URL. However, make sure you use polite language and comply with group rules when promoting.

Online Activation

Online activation is a digital marketing campaign strategy that you can try to bring more visits to your business website. This strategy aims to encourage the audience to interact or have active involvement in participating in the event you are holding.

This can be done by holding giveaways, endorsements, interactive quizzes, or holding promotions such as buy one get one. This technique can not only get traffic to online shop websites, but can increase interaction and build engagement with potential consumers which can later help increase conversions.

If you don't have the experience and knowledge to carry out online activation, there are other, more effective ways. For example, just work with a digital marketing agency in Jakarta, or other digital agencies in Indonesia. Or just contact Redcomm Indonesia directly. Because, Redcomm has Social Media Activation and Management services.

This service will help you achieve various targets, including increasing brand awareness. Starting from planning, creating, to tracking measurable content performance.

Pinterest

Even though it is not very popular among netizens, Pinterest is a unique social media and a source of new ideas for various digital marketing strategies. Through Pinterest, you will find all the unique and useful content easily. You can also use Pinterest as a source of business website traffic. Here's how:
  • Create a business account on Pinterest
  • Pinning all the images on your online shop website.
  • Continue by creating a board according to website keywords, and embed the URL into the web page.
  • Follow accounts or people who are your target market.
  • Share the pin with more people.

Forums

Forums are almost the same as Facebook groups, only on different platforms. If the target market is the millennial generation and beyond, you can use the forum as a source of traffic for your online shop. The method is very easy, namely:
  • Join or create an account and verify your account so you can use all the services on the forum.
  • Choose a sub forum that is appropriate or relevant to your business.
  • Create posts that come from your digital business website. But beforehand read the rules in the forum and avoid actions that lead to spamming.
  • Become an active member who also comments on every post belonging to someone else. In this comment, you can leave a trace in the form of your website address.

Utilize Guest Posts

You can get several benefits when doing guest posts or becoming a guest writer. One of them is increasing the opportunity for more people to recognize the website. Through guest posts, you can also get money for every article that appears, or even have the opportunity to insert a backlink to your online shop website.

That is the meaning of website traffic, types of website traffic, and 7 sources of traffic for business websites. However, if you don't want to go to the trouble of carrying out the steps above, try using the services of a top digital agency as suggested above.
How to Fix WordPress Database Connection Error

How to Fix WordPress Database Connection Error

How to Fix WordPress Database Connection Error - When you access your WordPress website or blog and access fails, then an error message appears saying "Error Establishing a Database Connection" in your browser, it happens because there is an error that occurs in the database which is usually caused by various things.

As a new user of WordPress, this can be a frustrating problem especially when it happens automatically without you making any changes and of course the WordPress users as time goes on will also be sure to encounter this problem, because it is indeed a problem of establishing database connection errors this often happens.

How to Fix WordPress Database Connection Error

To overcome this problem, in this article, I will show you how to fix "Error Establishing a Database Connection on WordPress" in various ways.

Overcoming WordPress Database Connection Errors

Make sure every time you want to make changes to the database to always backup first. This is important because to avoid things that are not wanted later and the database is an important part of your site.

Why do you get this Error?

You get this error because WordPress cannot establish a database connection. Now the reason why WordPress cannot make database connections can vary. It could be that your database login is wrong or has changed. It could be that your database server is not responsive. and it can also be caused by your damaged database. In my experience, most of these errors occur because of several types of server errors but there may be other factors that can cause a lot of errors why this error can occur. And now let's see how to overcome this problem.

Does the problem occur because of WP-Admin?

The first thing you have to do is to make sure that you get the same error on both parts of the site, namely the front-end and back-end part of the site (wp-admin). If the error message is the same on both pages "Error Establishing a Database Connection", then continue to read this article to the next step.

But if what happens is you get a different error in the back-end (wp-admin) for example a message appears like "One or more database tables are unavailable. The database may need to be repaired ", so to solve this problem is to repair the database.

How to Fix WordPress Database Connection Error

How to repair a WordPress database You can do this by adding the following line of code in your wp-config.php file, if you have already saved the wp-config.php file.

define('WP_ALLOW_REPAIR', true);

Then access in your browser url with the following url:

http://www.yourdomain.com/wp-admin/maint/repair.php

After that you will see a page with two buttons as seen in the picture above. And to make improvements please click the "Repair Database" or "Repair and Optimize Database" button, and wait a few moments until WordPress has finished repairing the database.

And remember, users don't need to log in to access this function when you have added the code. This is because the main intention is to repair a damaged database, Users can often not be able to enter when the database is damaged. So after you have finished repairing and optimizing your database, make sure to delete the repair code from your wp-config.php file.

If this repair does not solve the problem, or you have difficulty running the repair. Please try other solutions as below.

Check the Wp-Config File

Wp-config.php is probably the single most important file in your entire WordPress installation. This is where you specify the details for WordPress to connect your database. If you change your root password or database user password, you also need to change this file too. The first thing you should always check is that the contents of the wp-config.php file are in accordance with your database information.

define('DB_NAME', 'database-name');
define('DB_USER', 'database-username');
define('DB_PASSWORD', 'database-password');
define('DB_HOST', 'localhost');

Remember for your DB_HOST, it may not always be localhost and this depends on your hosting. You can get this information from the hosting you are using.

Check Your Web Hosting (MYSQL Server)

Often you will see this Error Error Establishing a Database Connection when your site has been invaded with a lot of traffic. Basically, your host server cannot handle the load (especially if you are on a shared hosting type of hosting) and make your site really slow for some users even for all users to feel the same way. So, the best thing you have to do is ask for help to support telephone or LiveChat with your hosting provider and ask them to resolve the problem if your MySQL server is having a problem.

For users who want to test if the MySQL server runs on its own, you can do several things. Test other sites on the same server to see if they have problems. If they also get the same error, then most definitely something is wrong with the MySQL server. If you don't have another site on the same hosting account, just go to your cPanel and try to access phpMyAdmin and connect the database. If you can connect, then we need to verify if your database user has sufficient permissions. Create a new file called testconnection.php and paste the following code into the file:

<?php $link = mysql_connect('localhost', 'root', 'password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?>

Be sure to change your username and password. If it is successfully connected, then that means that you have sufficient permissions, and there is something else that might cause the error to occur. To make sure again, please go back to your wp-config file and make sure that everything is correct (pay careful attention to check because there might be a typo).

If you have done all of the above solutions and you still cannot connect to the phpMyAdmin database, then that can be caused by your server. That doesn't always mean that your MySQL server is down. This can mean that you do not have sufficient permission.

So if you get denied access and errors in connecting to phpMyAdmin or through the results of testconnection.php, then you should contact the support or support department of your hosting immediately to get help from them to overcome this.

The above are some solutions that you can apply to resolve the problem if your site encounters an error in the database and the message "Error Establishing a Database Connection" appears. Hopefully with tips that I can share this about How to Fix WordPress Database Connection Error, it can be useful for all of you. Good luck.
How to Overcome Leverage Browser Caching in Blogger

How to Overcome Leverage Browser Caching in Blogger

How to Overcome Leverage Browser Caching in Blogger - The problem that often arises faced by the blogger is the speed of the site. The problem arises because of some things like optimize images, minify javascript and leverage browser caching. But you do not need to be confused, because in this article I will discuss about how to Overcome Leverage Browser Caching in Blogger.

This problem is often encountered when we check blog speed through GTMetrix tool or Google PageSpeed Insights. Because leverage browser caching is also one of the factors determining the speed of loading the blog, the faster loading blog then the blog traffic will be higher.

Simply Leverage browser caching functions to set the expiration date or maximum age of HTTP / HTTPS headers that are directly related to source code like CSS, Javascript and static images. So instruct the browser to load the Source Code that has been downloaded previously from local storage.

How to Overcome Leverage Browser Caching in Blogger

How to Overcome Leverage Browser Caching in Blogger


First step, to overcome the leverage of browser caching is open Blogger dashboard then select Theme, Click Edit HTML button and add below code just below <head>
<include expiration='7d' path='*.css'/>
<include expiration='7d' path='*.js'/>
<include expiration='3d' path='*.gif'/>
<include expiration='3d' path='*.jpeg'/>
<include expiration='3d' path='*.jpg'/>
<include expiration='3d' path='*.png'/>

Once added, Save theme.

For WordPress users can use this code. Access the .htaccess file on Public Html hosting the WordPress web and add the code below
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
## EXPIRES CACHING ##

NOTE.!! It usually takes approximately one week after installation, then check the site again in GTMetrix or Google PageSpeed Insights.

That's one way to speed up loading your blog, by having a good blog speed it will be able to increase blog traffic. Similarly How to Overcome Leverage Browser Caching in Blogger, hopefully with a short enough article this can be useful and good luck.
5 Factors to Make you Busines Website SEO Friendly

5 Factors to Make you Busines Website SEO Friendly

5 Factors to Make you Busines Website SEO Friendly - To achieve top rankings in search engines, like Google for example, website owners only need to focus on implementing SEO (Search Engine Optimization). Even though ranking in search engines can be achieved through advertising, SEO is an organic way to optimize a website so that it can rank in search engines through the right keyword placement.

5 Factors to Make you Busines Website SEO Friendly

By implementing SEO, a website that initially has few visitors can get a large number of visitors. Of course, it also needs to be supported by choosing hosting or VPS and content management that focuses on audience needs. Even though the results are not immediately visible in a short time, the effects are permanent and can last for a long time.

Why Should You Have an SEO Friendly Website?


Getting instant results is encouraging because it doesn't take a long time, but will these results last long? For example, if a website gets visits through advertisements, once the advertisement ends, the visits will also disappear.

However, this is different from an SEO optimized website, because this is a long-term investment. The results will last a long time, not just a few days or weeks, but even last for years. This is the reason why you have to make sure your content is created in an SEO friendly manner.

By making it SEO friendly, your business website will become more user friendly, thereby improving the quality in terms of UX (User Experience) and making the audience feel that their information needs are met and tend to return.

When you offer better quality content, visitors will be more interested in staying on your business website. Conversion rates will also increase because visitors tend to become loyal visitors who will come back because they feel that the content on your business website is useful for them.

Determining Factors to Make a Business Website SEO Friendly


Basically there are various SEO techniques that you can use. Sometimes the large number of choices can make it difficult for people who are just starting out to choose. To be more focused, here are several ways you can try:
 

Use the Right Platform

The recommended first step is to use the right platform. One of them is like WordPress. One of the advantages is the availability of many plugins that can help website owners optimize their websites. One very useful plugin is Yoast SEO. This plugin offers various features to improve the SEO quality of a website, in the form of changing title tags, meta descriptions, sending XML sitemaps, and much more. One very useful feature is content analysis.

Apply Relevant Keywords

Next, make sure you use relevant keywords in your content. Create content that matches these keywords, and avoid choosing keywords carelessly because this can disappoint visitors. Google has its own algorithm that checks keyword usage. Therefore, it is important to choose the right keywords that can provide benefits to your business.

Provide Relevant and Interesting Content

An SEO-friendly website must provide content that is relevant to the website concept. For example, if you sell clothes, create content related to clothing, fabrics, or fashion. Also make sure the content is interesting so as not to make visitors feel bored. Provide interesting and up-to-date information, include images, and make sure the content writing style makes readers feel comfortable.

Update Content Regularly

Don't forget to always fill your website with interesting content on a regular basis. You can determine a schedule, for example one content per day or three content per week. By consistently updating content, your website will look more professional and responsible. Visitors may even look forward to the new content you will publish.

Optimize Website Speed

Apart from that, an important thing to pay attention to in creating an SEO-friendly website is speed which is a factor in the convenience of access. If a website doesn't open within 30 seconds, visitors will most likely leave. To ensure good website speed, you can choose a minimalist design because this will not require a lot of time and also saves more data when opening it.

Conclusion

By following the methods above, you can make your website more SEO friendly, improve visibility and user experience, and achieve success in your online marketing efforts.
Schema BlogPosting Markup Update 2024

Schema BlogPosting Markup Update 2024

Schema BlogPosting Markup- I recently changed this blog's Schema Markup and Structured Data from Article (https://developers.google.com/search/docs/advanced/structured-data/article) to type BlogPosting (https://schema.org/BlogPosting), in Json-LD format by removing Blogger's built-in Microdata.

Schema BlogPosting Markup Update 2024

Why use JSON-LD format? Because (currently) that's what Google Developer (https://developers.google.com/search/docs/advanced/structured-data/intro-structured-data?hl=id) recommends. After all, this format is (in my opinion) the easiest to use, it is not complicated if you want to change the type or add or remove other items at any time. Compared to the application of Microdata that attaches to HTML content.

Why decide to replace (again) Schema and Stuctured Data into BlogPosting schema markup? In line the beasr BlogPosting markup is more or less the same as Article markup. But for me schema BlogPosting markup is more suitable to be installed on the Blogger / blogspot platform with this type of content like in Khalistablog.

Schema BlogPosting Markup Update 2024

Here's the JSON-LD format for the Schema BlogPosting Markup:

<script type='application/ld+json'>{
  &quot;@context&quot;: &quot;http://schema.org&quot;,
  &quot;@type&quot;: &quot;BlogPosting&quot;,
  &quot;inLanguage&quot;: &quot;id-ID&quot;,
  &quot;headline&quot;: &quot;<data:post.title.escaped/>&quot;,&quot;description&quot;: &quot;<b:eval expr='snippet(data:post.snippets.long, { length: 250 })'/>&quot;,&quot;articleBody&quot;: &quot;<b:eval expr='snippet(data:post.body,{ length: 1500, ellipsis: false, links: false, linebreaks: false }).escaped'/>&quot;,&quot;keywords&quot;: &quot; <b:loop values='data:post.labels' var='label'><data:label.name/><b:if cond='not data:label.isLast'>, </b:if></b:loop>&quot;,&quot;datePublished&quot;: &quot;<data:post.date.iso8601/>&quot;,
  &quot;dateModified&quot;: &quot;<data:post.lastUpdated.iso8601/>&quot;,&quot;image&quot;: {
    &quot;@type&quot;: &quot;ImageObject&quot;,&quot;url&quot;: &quot;<b:if cond='data:blog.postImageUrl'><b:eval expr='resizeImage(data:blog.postImageUrl, 1200, &quot;1200:675&quot;)'/><b:else/>https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJlmRFzdzLAmEPQOqDue5pBW-M7WwXpwEEJNYvCTb8pr3J7PDnMdq8T3yYjBFMizAWHnkztGq_GNAEKvF6tdXsgD7EZW1WQM9Icr17qTZsztCm7u-E78t-e1pejxjt9_gAR0i-ad4AMh0/w810-c-h456/no-thumbnail_810.png</b:if>&quot;,
    &quot;height&quot;: 675,
    &quot;mainEntityOfPage&quot;: {
    &quot;@type&quot;: &quot;WebPage&quot;,
    &quot;@id&quot;: &quot;<data:post.url.escaped/>&quot;,
    &quot;name&quot;: &quot;<data:post.title.escaped/>&quot;
  },
    &quot;width&quot;: 1200},&quot;publisher&quot;: {
    &quot;@type&quot;: &quot;Organization&quot;,
    &quot;name&quot;: &quot;<data:blog.title.escaped/>&quot;,
    &quot;logo&quot;: {
      &quot;@type&quot;: &quot;ImageObject&quot;,
      &quot;url&quot;: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKx91TQMc5sNsoMaFHU4jAAOy9YMyy1S0-2dG7OxKmFTcVP3XtqxvvjVZzc8nuKXvUgaJ0WY-ZDSbIV6R_ENsH5A8Vu8NvT00csphfswa1LePYN2GHiIoF-61L1CYTkokgnjFLS-6ZJwU/s1600/logo.png&quot;,
      &quot;width&quot;: 600,
      &quot;height&quot;: 133
    }
  },<b:if cond='data:post.author.aboutMe or data:post.author.authorPhoto.image'>&quot;author&quot;: {
    &quot;@type&quot;: &quot;Person&quot;,
    &quot;name&quot;: &quot;<data:post.author.name/>&quot;,
    &quot;url&quot;: &quot;<b:if cond='data:post.author.profileUrl'><data:post.author.profileUrl/></b:if>&quot;</b:if>
  }
}</script>

ArticleBody Issue

In articleBody use <b:eval expr='snippet(data:post.body,{ length: 1500, ellipsis: false, links: false, linebreaks: false }).escaped'/> (which is actually the output also exactly the same as <data:post.longSnippet/>) instead of using <data:post.body/>, because it turns out that the output is in HTML, not just text in the post body. Thus, if the post contains certain code elements, such as quotation marks (") or (') then it is considered the closing of the articleBody element in JSON-LD. This will trigger an error in Google Search Console or Google Webmasters.

Actually, this articleBody output should contain the entire actualization of the paragraph in the post body (in text without line break). It's just that this cannot be applied optimally, because it only triggers an error in GSC. The best solution is, stick to the long snippet format or not use it at all. So I chose to use long snippets only.

Testing in the Rich Results Test

From the BlogPosting Markup Schema format above, the results of the Rich Results Test will look like the following image:

Schema BlogPosting Markup

Thus the review of Schema BlogPosting Markup this time, if there are any inputs or suggestions about this. Let's discuss in the comments column. Thanks for listening.
Blogger Conditional Tags on 2024 Latest

Blogger Conditional Tags on 2024 Latest

Blogger Conditional Tags on 2024 - Conditional Tags are tags used to set a gadget / widget or a specific element to display or not to appear in a specific page. For example on the main page we want to display the sidebar but when the visitor opens the article page then the sidebar is not displayed. Well, to set the sidebar appear and do not appear then used Conditional Tag.

Showing and hiding the sidebar and widgets on certain pages of blogs become the most fitting alternative for a friend who has many widgets on his blog. Because if too many widgets will reduce the loading speed of our blog. As a result other than a blog so heavy, visitors will also feel a little bored with the length of time required to load our blog.

Blogger Conditional Tags on 2024

Here is a new Blogger Conditional Tag that you can add to themes to wrap certain code.

Conditional Tags On Home Page


New Version

<b:if cond='data:view.isHomepage'> … </b:if>

Old Version

<b:if cond='data:blog.url == data:blog.homepageUrl'> … </b:if>

Conditional Tag on the Index Page


New Version

<b:if cond='data:view.isMultipleItems'> … </b:if>

Old Version

<b:if cond='data:blog.pageType == "index"'> … </b:if>

Conditional Tag on the Item Pages


New Version

<b:if cond='data:view.isSingleItem'> … </b:if>

Old Version

<b:if cond='data:blog.pageType in ["item", "static_page"]'> … </b:if>

Conditional Tag on the Post Pages


New Version

<b:if cond='data:view.isPost'> … </b:if>

Old Version

<b:if cond='data:blog.pageType == "item"'> … </b:if>

Conditional Tags on Static Pages


New Version

<b:if cond='data:view.isPage'> … </b:if>

Old Version

<b:if cond='data:blog.pageType == "static_page"'> … </b:if>

Conditional Tag on the Label Page


New Version

<b:if cond='data:view.isLabelSearch'> … </b:if>

Old Version

<b:if cond='data:blog.searchLabel'> … </b:if>

Conditional Tags on Archive Pages


New Version

<b:if cond='data:view.isArchive'> … </b:if>

Old Version

<b:if cond='data:blog.pageType == "archive"'> … </b:if>

Conditional Tags on Search Page


New Version

<! - Includes label search page ->
<b:if cond='data:view.isSearch'> … </b:if>
<! - Just the search page ->
<b:if cond='data:view.isSearch and !data:view.isLabelSearch'> … </b:if>

Old Version

<b:if cond='data:blog.searchQuery'> … </b:if>

Conditional Tag on Error Pages / Error 404


New Version

<b:if cond='data:view.isError'> … </b:if>

Old Version

<b:if cond='data:blog.pageType == "error_page"'> … </b:if>

Conditional Tags on Preview Page


New Version

<b:if cond='data:view.isPreview'> … </b:if>

These are some of the latest versions of Conditional Tags for Blogger I've been sharing this time. Hopefully with this short enough article can be useful and useful for you all. Thank you for your visit.