Why Passkeys Are Better Than Passwords

Featured Imgs 23

Maybe you’ve had the feeling — or maybe you’ve imagined it. The feeling of your stomach sinking to the bottom of your belly. That panic you feel the very second you realize that you just entered your login credentials into a fake website. Maybe you realized it right away. Or maybe you realized because you went back the next day and couldn’t log in. Maybe you realized it because your bank account has been cleaned out. However you realized — or imagined — it, it’s not a feeling you ever want to have.

But imagine not having to worry about that ever again.

Exceptions in Lambdas

Featured Imgs 23

Java introduced the concept of checked exceptions. The idea of forcing developers to manage exceptions was revolutionary compared to the earlier approaches.

Nowadays, Java remains the only widespread language to offer checked exceptions. For example, every exception in Kotlin is unchecked.

Why to Add FAQs to Your WooCommerce Store

Set Up Woocommerce

Why to Add FAQs to Your WooCommerce StoreA website is a complex mixture of multiple elements like images, content, back-end code, domain, hosting, etc. All the elements are interlinked and it is possible to influence one from the other. FAQs are one such element that can improve your website’s performance if incorporated smartly. To help you understand the importance of adding an […]

The post Why to Add FAQs to Your WooCommerce Store appeared first on WPExplorer.

rel=”ugc” vs rel=”ugc,nofollow”

Featured Imgs 11

According to this page we switched links within our forum posts from using rel="nofollow" to rel="ugc". However, Do you think that it makes sense to use rel="nofollow,ugc", or is the nofollow part already implied? Does anyone have any anecdotal evidence as to whether they've noticed a real world difference between the two?

Tips to Make Your Retrospectives Meaningful

Featured Imgs 23

If done right, retrospectives can help you inspect past actions, help adapt to future requirements and guide teams towards continuous improvement. However, organizations find it difficult to adopt the right mindset to execute retrospectives effectively. This article will help you understand what retrospectives are and provide valuable tips to make your retrospectives meaningful.

This article will cover: 

Edit Someone Else’s Website: contenteditable and designMode

Featured Imgs 23

The first time I opened up my DevTools and changed the contents of a website, I actually thought that I had hacked it. I thought, “Oh my gosh, what sort of crazy powers have I unlocked?”

Little did I know that it was just a local change that would go away when I reload the browser. Still, it is kind of cool to think we can do that.

Full Post vs Summary (Excerpt) in WordPress Archive Pages?

Featured Imgs 08

Are you wondering whether you should use an excerpt instead of full posts in your archive pages?

A summary helps provide a quick glimpse to your visitors about your content. Users can read through the short excerpt and decide if they’d like to view the entire blog. However, using the full post may get more eyes on the content because it doesn’t require extra action on the user’s part. But which is better?

In this article, we will compare full post vs summary (excerpt) in your WordPress archive pages.

Full post vs summary in your WordPress

What is an Excerpt and How to Add It in WordPress?

An excerpt is a short summary of an article that you can display on the archive pages in WordPress. The excerpt also has a link that users can click to read the whole article.

If you have limited space on your WordPress site, then excerpts are great for showing descriptions of your content.

By default, WordPress will use the starting 55 words of a blog post and show it as an excerpt. However, you can also manually add an excerpt.

Adding Excerpts in WordPress Posts

First, you’ll need to add a new post or edit an existing one. Once you’re in the WordPress content editor, you can click the ‘gear’ icon at the top right corner to open the settings panel.

Next, scroll down to the ‘Excerpt’ section and add your text in the ‘Write an excerpt (optional)’ field.

Add an excerpt in WordPress

When you’re done, simply publish or update your blog post.

Adding Excerpts in WordPress Pages

If you need to add a summary to a WordPress page, then you’ll notice that there’s no option to add an excerpt. However, you can simply add the following code to your website:

add_post_type_support( 'page', 'excerpt' );

To add the code, you’ll need to install and activate the WPCode plugin. For more details please see our guide on how to install a WordPress plugin.

Upon activation, head to Code Snippets » Add Snippet from your WordPress dashboard, and then select the ‘Add Your Custom Code (New Snippet)’ option.

WPCode Add new Snippet

Next, you can enter a name for your code snippet.

After that, simply paste the snippet in the ‘Code Preview’ area and select the ‘PHP Snippet’ from the Code Type dropdown menu.

Add code snippet for excerpt pages

From here, you can scroll down to the ‘Insertion’ section and select where you’d like to add the snippet on your site.

Next, click on the ‘Location’ dropdown menu and choose the ‘Run Everywhere’ option under ‘PHP Snippets Only.’

Run the snippet everywhere

After entering the code, you can click the toggle at the top to activate the snippet and then click the ‘Save Snippet’ button.

This will add an ‘Excerpt’ meta box in the settings panel in your WordPress editor, where you can easily provide a short summary for your page.

Save and activate code snippet WPCode

Please see our tutorial on how to add excerpts to your pages in WordPress for more information.

That said, let’s see the advantages of using a summary vs a full post in archive pages.

Benefits of Using Summary vs Full Post in Archives

When optimizing your site for a better user experience, choosing between excerpts and full posts in archive pages can play a huge role. You want users to easily browse the website, find what they are looking for, and improve search engine ranking.

With summaries, you can provide an improved user experience. It helps users find the content they want to read. Plus, it keeps your page organized and allows you to display multiple posts on a page. This would be very difficult if you show full posts in archives.

That said, here’s a closer look at why we recommend using summary (excerpts) vs full posts on your WordPress site’s archive pages.

1. Improves Page Load Time

Did you know Google now uses your site speed as a ranking factor? The search engine will rank fast-loading websites higher than the ones that take a lot of time to load fully.

By using excerpts on your archive pages, you significantly improve the page load time.

Imagine an archive page that shows 10 posts per page. If each of those 10 pages is 500+ words long with 5 images each, then your user has a lot to scroll through. The page will also load slower than normal.

By using excerpts, you can significantly improve the user experience.

Here’s a preview of how a short summary appears on WPBeginner when you view the archive pages.

Preview summary on WPBeginner

Users can load and browse through our category, tags, date, and other archive pages quickly and easily. As for search engines, you will see a boost in rankings for archive pages and improvement in WordPress SEO with faster page load times.

2. Prevents Duplicate Content

By showing excerpts on your archive pages, you can prevent being flagged for duplicate content in search engines.

For example, WordPress by default has category, tags, date, and author archives. Publishing full posts in archives will make each article appear at full length on several different pages on your site.

Even though search engines are quite smart in finding canonical URLs for each post, they can still flag the site for duplicate content which will affect your search engine rankings.

3. Increases Pageviews and Reduces Bounce rate

Using summaries or excerpts can reduce the bounce rate and increase pageviews. Users can click through to the full post in order to read the entire article.

If you just have full posts displayed in the archive pages, then people will not see any other elements that are on the blog page itself, such as a popular posts widget inside the post or page content.

By displaying the full post, users might just leave your site after looking at a single page instead of clicking around.

A summary makes your archive page more engaging and allows your readers to see find more content easily.

Disadvantages of Using Summary vs Full Post in Archives

1. Short Excerpts Provide Poor User Experience

If you don’t set an excerpt for blog posts, then WordPress will automatically create a summary using the first 55 words in the article. This is too short, and sometimes your sentences will be cut in half, resulting in a poor user experience.

You can always change the excerpt length in a WordPress theme, but that doesn’t fix the problem entirely.

One solution is to write a custom excerpt in the content editor before publication. Another solution is to write short, catchy introductions that will most likely make the user interested and can easily work as excerpts.

2. Hidden Content

Some users prefer to read everything on one page rather than having to go to a different page to read the entire article. This is useful if you have short blog posts that don’t contain many images.

These users are likely to stay on your site longer, even if they don’t click on any other pages, which is also a metric that Google uses to determine search engine rankings.

Should You Use Full Post or Summary in Archive Pages?

If your articles are short and do not contain a lot of images, then you can get away with displaying full posts on your archive pages.

However, in most cases, we always recommend using a summary or excerpts for your archive pages. Most WordPress themes come with a built-in option that allows you to choose between full posts vs excerpts from the settings.

Excerpts provide a better user experience and make your site look clean and organized. You can boost user engagement, increase pageviews, and show multiple articles on your archive pages.

We hope that this article answered the question of whether you should use a full post or summary in your WordPress archive pages. You may also want to see our guide on how to move a WordPress from HTTP to HTTPS and WooCommerce made simple.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Full Post vs Summary (Excerpt) in WordPress Archive Pages? first appeared on WPBeginner.

Querydsl vs. JPA Criteria, Part 2: Metamodel

Featured Imgs 23

This is the second article in my series dedicated to the Querydsl framework. I planned to shed light on the custom queries, as promised in the first article, but I decided to explain the metamodel usage first in order to simplify the explanation later on.

So far, this series contains these articles:

When Breakpoints Don’t Break

Featured Imgs 23

I discussed tracepoints quite a bit in my blog and videos. They are wonderful, but I feel the nuance of non-breaking is a bit lost. The true power of this amazing tool is hidden due to our debugging habits and our preconceived notions about debugging. It’s indeed difficult to make the mental shift required for these tools. The payoff for that mental shift is tremendous when dealing with “weird” bugs. Especially in large systems and with concurrency related issues.

Let’s go back to the basics. What’s a non-breaking breakpoint?

Main Benefits of a Technical Blog

Fotolia Subscription Monthly 4685447 Xl Stock

This blog is a special edition because it is my 100th blog! I will explain what this blog has given me in the past five years. If you are planning to start a blog of yourself, you may use this list of benefits in order to get you motivated to get started.

1. Introduction

In the beginning of September, I already celebrated the fifth anniversary of my blog. Now I publish my 100th blog and I am pretty proud of it. It seems not so long ago that I started my blog, but on the other hand, it also feels like I am doing this for a long time. At least, I cannot imagine a life without my blog anymore. In the beginning, I really suffered of the imposter syndrome: I posted blogs, but did not let anyone in my direct environment know that I had a blog. After a few months, I let this feeling behind myself and let the world know that I write technical content. In those five years, I only had one or two negative comments, but many positive comments and I really do not bother about the negative ones. In the next section, I will try to list some of the benefits of a technical blog and if you would like to start with a blog yourself, do read Why Start a Technical Blog. Enjoy this post and up to the next five years!

UniBlock: A Free Business Block Theme for WordPress

Best Wordpress Themes 1

WPZOOM is coming in strong with its first block theme approved for the WordPress Themes Directory. UniBlock is a beautifully designed theme that is well-suited for businesses and freelancers. The company plans to adopt the concept of full-site editing in other WPZOOM themes as well, following the release of UniBlock.

UniBlock’s default look is sporting a darker color palette in the navigation and above the fold, with a lighter background for the rest of the website. The video on the sample homepage uses the free WPZOOM Video Popup Block plugin, which supports Vimeo and YouTube. It’s a simple, lightweight block that allows users to customize the play button and play icon.

After activating the theme, clicking on ‘Customize’ will prompt the user to install the video plugin. It can also be converted to a Custom HTML block or removed entirely at the user’s discretion.

UniBlock’s 19 custom block patterns include everything one might expect from a business theme but, most impressively, it ships with five full-page patterns:

  • Front Page
  • About
  • Services
  • Blog
  • Contact

Alternatively, users can assign the page template in the post settings to get the same effect.

These full-page patterns are convenient for speedy page building. They make it possible to get a basic business website up in a matter of minutes. Here’s an example of the Services full-page pattern that will instantly embed when selected. Users can delete any sections they don’t need, add more blocks and patterns, and quickly fill in all their own information.

Separately there are patterns for a footer with text, links, multiple arrangements of featured boxes with text and button, multiple designs for call-to-action sections, pricing tables, team members with social icons, testimonials, header cover, sidebar, 404 page, and more.

Users can delve even further into customizing the templates with the site editor, as UniBlock is packaged with nearly two dozen templates and template parts. Here they can also edit the menu and adjust global styles.

WPZOOM is developing a Pro version of the theme to release in a few weeks with support for importing the whole demo, multiple color schemes, multiple demos, premium block patterns, and additional header and footer layouts.

Check out the demo on the WPZOOM website to see the theme in action. WPZOOM has also written documentation for UniBlock, which covers general topics like how to use block patterns, how to set up the front and blog pages, and how to create a menu in the site editor. Since the company’s most popular themes are what would be considered classic themes, UniBlock is new territory for most of their customers. It is so far the only block theme among WPZOOM’s collection of 31 themes.

Block theme adoption is slowly making its way across WordPress’ major theme shops and the official directory is now hosting 160 themes tagged for full-site editing. As more longtime theme companies make their block theme debuts and develop a base for future themes, WordPress users may start to see a rapid acceleration of the number and variety of block themes available. UniBlock is so far one of the few block themes in the directory with a singular focus on business websites. It is available to download for free from WordPress.org or via the admin themes panel.

Tips for Developing a Screen Recorder

Featured Imgs 23

Let's face it. Sometimes it can be difficult for our app users to find a specific app function when our apps are loaded with all kinds of functions. Many of us tend to write up a guide detailing each function found in the app, but — honestly speaking — users don't really have the time or patience to read through long guides, and not all guides are user-friendly, either. Sometimes it's faster to play about with a function than it is to look it up and learn about it. But that creates the possibility that users are not using the functions of our app to its full potential.

Luckily, making a screen recording is a great way of showing users how functions work, step by step.

How to use Facebook to promote your Business?

Featured Imgs 20

Facebook remains the most popular social media platform with nearly 3 billion users worldwide, out of which 2.9 billion people are active social media users. With an effective Facebook marketing strategy businesses can turn their Facebook business page into a powerful tool to market and advertise their services to reach potential customers.