Adding ACF Fields as Admin Columns to your CPT

We all know how awesome Advanced Custom Fields (ACF) is right? We pretty much use the Pro version of it on every WordPress website build we do.

Today, we are going to show you how to add fields to your CPT (Custom Post Type) to the backend Admin Columns.

There are a few plugins that can accomplish adding your ACF fields as admin columns to the backend. Admin Columns is one of the best ones that does the trick. The paid version allows your custom post type to connect with ACF Pro.

As programmers, we want to keep the number of plugins we use to a minimum right? well, it’s pretty simple to add these manually!

Okay, so here we go… Let’s say that you have created a post type, ‘hosting’, and two custom meta fields, ‘start_date’ and ‘end_date’. You’d like to add both meta fields to the custom post type list view. First of all, we will need to add the following to the functions.php file:-


/**
 *	ACF Admin Columns
 *
 */

 function add_acf_columns ( $columns ) {
   return array_merge ( $columns, array ( 
     'start_date' => __ ( 'Starts' ),
     'end_date'   => __ ( 'Ends' ) 
   ) );
 }
 add_filter ( 'manage_hosting_posts_columns', 'add_acf_columns' );

This filter adds your additional columns to the list. We have created an array containing two items – one for the start date and one for the end date – and merged it with the existing columns. The filter is hooked to the specific post type, in this case, manage_hosting_posts_columns, based on the format manage_POSTTYPE_posts_columns. You’ll need to edit this filter to match your custom post type slug.

Secondly, add the following code to output the meta field values:-


 /*
 * Add columns to Hosting CPT
 */
 function hosting_custom_column ( $column, $post_id ) {
   switch ( $column ) {
     case 'start_date':
       echo get_post_meta ( $post_id, 'hosting_start_date', true );
       break;
     case 'end_date':
       echo get_post_meta ( $post_id, 'hosting_end_date', true );
       break;
   }
}
add_action ( 'manage_hosting_posts_custom_column', 'hosting_custom_column', 10, 2 );

Again, notice how the action hook is specific to your post type, in this case, manage_hosting_posts_custom_column. The function looks for the name of your custom columns then echoes the metadata.

Awesome, we’ve added the fields now! But wait, do you want to go the extra step and make the fields sortable? Of course, why wouldn’t you! Here’s how we can do that:-


 /*
 * Add Sortable columns
 */

function my_column_register_sortable( $columns ) {
	$columns['start_date'] = 'start_date';
	$columns['end_date'] = 'start_date';
	return $columns;
}
add_filter('manage_edit-hosting_sortable_columns', 'my_column_register_sortable' );

Well, we hope you have found this tutorial usual, be sure to leave a comment if this has helped you or if you require any help!

 

It’s good to share

WordPress – How to add Category Name to the body class

The body_class function is great for adding a bunch of classes to the body tag that has information about what kind of page you are currently viewing, most likely for styling purposes. As a default, it doesn’t include a class for the current category (or categories) for a single post.

The below PHP code adds the category ‘nice’ name, and you can simply add this to your functions.php file:


add_filter('body_class','add_category_to_single');
  function add_category_to_single($classes) {
    if (is_single() ) {
      global $post;
      foreach((get_the_category($post->ID)) as $category) {
        // add category slug to the $classes array
        $classes[] = $category->category_nicename;
      }
    }
    // return the $classes array
    return $classes;
  }

We needed to do some specific styling for each of the different categories for single posts and this was a good way to achieve that. Let’s say you had the category ‘Technologies’ and you wanted to make the h1 tags blue. The PHP code above will add the class ‘technologies’ to the body so that you could style all the posts with this category as simple as doing:-


body.technologies {
    color: #2581c4;
}.

Pretty simple right?

Hope this helps! Happy coding 😉

 

It’s good to share

How to Change the Placeholder text for the WordPress Search Form

Today we will learn how to change the placeholder text for WordPress search forms.

To display a WordPress search form you can use the following PHP code:-


<?php get_search_form(); ?>

Now, we just need to add the below code to your functions.php in your WordPress theme and we are all set. The placeholder text can be changed/replaced with any text. Also, the search button can be changed to anything. It’s pretty customisable using the below function.


/**
 *  Search Form
 */
function wp_search_form( $form ) { 
     $form = '<section class="search search-form"><form role="search" method="get" action="' . home_url( '/' ) . '" >
    <label class="screen-reader-text" for="s">' . __('',  'domain') . '</label>
     <input type="search" class="search-field" value="' . get_search_query() . '" name="s" id="s" placeholder="" />
     <input type="submit" id="searchsubmit" class="search-submit" value="'. esc_attr__('Go', 'domain') .'" />
     </form></section>';
     return $form;
}

add_filter( 'get_search_form', 'wp_search_form' );

We hope this article has helped you to be able to change the placeholder text for the WordPress search box.

Are you wanting to customise the default WordPress Search?

You may also be wondering how you can customise the default search to only display certain things. For example, you may not want to search for posts, but only display pages or certain CPT (Custom Post Types). This can also be done bespoke, but we tend to find the Relevanssi – A Better Search plugin to do the job perfectly well, and safe quite a bit of time. Relevanssi replaces the standard WordPress search with a better search engine, with lots of features and configurable options. You’ll get better results, better presentation of results and your users will thank you.

If you need assistance with setting this up, feel free to get in touch, we look forward to hearing from you.

 

It’s good to share

We’re Hiring! 1 x Freelance Web Developer

We are currently in need of a website developer to work with to complete ad-hoc jobs as required as we quite often we tend to get a work overload that we could do with some assistance in order to complete tasks in a timely manner. We always aim to deliver any type of project in a timely manner which is how we maintain long-term relationships with our clients.

Please only submit your application if you are competent in the following:-

  • Bespoke WordPress Theme Builds
  • Plugin Customisation
  • HTML5 / CSS3 / PHP / jQuery / JavaScript / SASS / SCSS
  • Bootstrap 4
  • Providing estimates and delivering on time
  • Developing Email Templates using MailChimp
  • Based in Europe*

 

Optional requirements but not essential:-

  • Magento
  • Shopify
  • Laravel
  • Various other frameworks as there tends to be a varied type of work.

 

Please submit your hourly rate and a list of your expertise within your application.

To get started, email your CV and Cover Letter to [email protected]

Thank you for reading, and we look forward to hearing from you!

 

It’s good to share

How to Boost your Social Media Using WordPress

If you’re in charge of your company’s social media presence, you already know engagement is hard to achieve – not only when you have just a few followers. Even if your fan base is already quite large, it’s hard to keep track of all the metrics that can help you make decisions. Those decisions can range from content, to what types of media you should use, or even on which networks you should be active. There are plenty of articles justifying why you should use each network, but, in the end, it all boils down to your target audience and their interests – and only you know that. Or maybe you don’t. However, even if you have issues trying to pinpoint to whom exactly you should try to sell your product, using the right tools can go a long way.

This is why we wrote this article about a few tools you can integrate on WordPress which will help you make the right decisions regarding your social media presence. A few of these tools have been around for a long time, but they have stood the test of time and, using them through WordPress, you’ll have a much more holistic view of what works and what doesn’t when it comes to your social media efforts.

So, let’s go!

1. Sprout Social

Sprout Social will really suit you if you need cross-channel analysis for all your social networks: Facebook pages, Instagram, Twitter, Pinterest… the list goes on and on. You can also get detailed insights for each network you’re using, which is useful as well. It all depends on what you want to track and why. Sprout Social also has reporting features that can give you actionable insights into what you should be doing on each network you’re on to be successful. Sprout Social has been around for quite a while, so you’ll see it will help you a lot with your social media strategy. It provides you with target audience demographics, industry influencers, campaign performances, voice sharing, and analyzing consumer sentiments, among other useful metrics. Plus, its reports are easy to read and understand, which means that you don’t have to be a data guru to figure out what should be your next steps.

2. Hootsuite

If you’re a Social Media Manager, you’ve probably used Hootsuite at some point. Most people go for it because of its amazing scheduling features, which allow you to connect all your social media accounts under one app so you can post on each one of them without having to sign in constantly. Although most social media networks have scheduling features, it’s still much easier to do it from Hootsuite. On Hootsuite, you can just log in to your account and have a comprehensive view of all your social media networks at once. You can also use it to get your feeds from all social media, answer messages and mentions, and much more. On another note, it also has a free version if you’re not going to need to connect to many accounts. If you need more than what the free version offers, you can get a Professional account starting at $25 per month.

3. Buffer

Buffer has grown quite a lot ever since its inception. In the beginning, it didn’t give you much control – you’d just feed it with content and it would automatically deliver your posts. These days, it has Buffer Publish, which is pretty self-explanatory – much like Hootsuite, it allows you to schedule posts across your several social media accounts. However, it also has Buffer Reply and Buffer Analyze. Buffer Reply helps you get in touch with the people who engage with your content. Buffer Analyze is an Analytics tool that provides you with insights about which of your posts get a better engagement, which media most resonates with your audience, and much more. Plus, its free version has plenty of useful features, allowing you to add up to three social media accounts and schedule up to ten posts at once.

4. Awario

This tool hasn’t been around for so long as our first three choices, but it is quite useful to analyze your brand scalability and value. It researches mentions and reviews about your brand automatically, so it’ll deliver interesting insights about how you can not only make your social media better but also your product. This tool can go through thirteen billion pages every day, which is quite impressive. It also helps you find useful backlinks, providing you with themes for guest posting and content. Another useful feature of Awario is its social media influencer finder, which allows you to figure out which people are best to talk to about your product and who are the most reputable writers and influencers in your niche.

5. Buzzsumo

Buzzsumo is quite different from the other tools we mentioned so far, in that it mostly figures out which are the most popular posts across a large number of social networks, such as Facebook, Twitter, Instagram, and Reddit, just to mention a few. The fact it searches Reddit as well is quite a good indicator since Reddit is an aggregator that has information about all possible niches you could think about. It provides you with highly customizable search parameters and filters, allowing you to focus only on what matters for your brand. It also helps with influencer info and social backlink data, which are very actionable insights for your social media strategy.

6. Google Analytics

Even though Google Analytics is not a social media tool per se, its features include settings that allow you to track your social media campaigns and get to know which social media networks are bringing more users to your WordPress website. Using it, you can also find out which social networks provide you with the biggest ROI. It allows you to use UTM parameters to track and measure which networks and social campaigns are getting you more traffic into your website. It also offers a comprehensive report feature which can be used to track social media info such as how many people who subscribed to your newsletter came from your Twitter account.

7. Brand24

This is a tool for companies who are really invested in getting that Social Media ROI. First of all, it has no free version, but its pricing plans are reasonable and its tools are completely worth your money. Brand24 has been around for ages and it keeps on improving. It has a social search feature that automatically looks up your most important keywords and helps you stay ahead of the competition with Custom Alerts that have plenty of possible customizations. If you want to get serious about Social Media, Brand24 is a must-have for your company. It measures an enormous number of metrics including social media reach, engagement, sentiment analysis, the volume of mentions, and so on. Other key features of Brand24 include influence, trending hashtags, and many other KPIs you can measure.

Conclusion

This article’s goal is not to help you pick one tool that will help you figure out which way your social media efforts should go. Actually, our recommendation is to try all of these tools that seem right for you and go from there. Even with the paid tools like Brand24, you can get a free trial to experiment and understand what works for you. With this article, we’re simply aiming at helping you get the most out of social media by using analytics and figuring out which KPIs work best for you. For some brands, Twitter retweets are all that matters; for others, LinkedIn engagement is where it’s at. You also need to understand at which times of the day, and during which days, should you post. There is not a cookie-cutter approach for social media engagement and ROI; each brand has the right combination of tools and KPIs that work and you only get there through trial and error. However, the tools we mentioned above should give you the insights you need to make the right decision. What are your thoughts? Let us know!

 

It’s good to share

5 Things to Consider When Starting Your E-Commerce Store

If you’ve decided you would like to take the leap to E-Commerce and start your online shop, it can be a difficult process to get started. Fear now though, these days it’s very simple to get your store set up, even if you are just a beginner.

Here are five things you need to consider when you’re starting your journey in the e-commerce world.

Server Size

The first thing you should take into account is the hosting provider that you choose. Essentially, it all comes down to how big you want your store to grow. A shared service is a good option, to begin with, whereas a dedicated server will cater to bigger e-commerce stores.

A shared server means that you won’t have its space all to yourself, however, it’s not needed if your store is only relatively small. If you are aiming at exponential growth then a dedicated server will be a perfect fit. Do note that dedicated servers are more expensive than shared servers. There are other options though, these days you can get a good cloud hosting where you can update the specification of the server as your website grows. To be honest, this is probably the best option. Companies like SiteGround, WP-Engine, and eUKHost offer some great packages to get you started. Best of all, their online support team will help you with any hurdle along the way.

Web Design

When your first visitor lands on your store, the first impression they will get is from the design of the website. So you need to ensure it’s clean, easy to navigate and pleasing to the eye. This will ensure people will stick around and continue to browse your website.

If your website is difficult to explore and not attractive, often potential customers will look elsewhere. Especially if they’ve had no previous dealings with you in the past. Think about it realistically, the big e-commerce sites out there are all straightforward to navigate and have great designs. No matter how small you are, your store shouldn’t be any different. These days, you should consider flat designs for a foolproof way of making your online shop look good.

A Niche Market

When embarking your journey in the world of e-commerce, you’ve likely learned that a niche market is absolutely something you should avoid. Nice marketing is a term that means finding your path in an already busy market. When there are a load of competitors with nothing different or unique to offer, avoid the oversaturation of it all and use the power of innovation to bring something completely new to the table. You’ll find by doing this, it will grow your audience rapidly.

Quality Customer Service

One of the most important things to have when establishing your online store is a reasonable or high level of customer service. It’s the only way you’ll guarantee solid relationships with buyers – they’ll establish respect and trust for you should you be doing the same for them. In my opinion, for online shops, chat support is a must, everyone likes speaking to somebody before purchasing something right? Offer good customer service and you’ll find that clients will come back.

Security

To get established with an online store, you’ll at least some level of security to back you up. Too often are websites compromised by a lack of security, with attacks such as SQL injection being all too common. Be sure to employ security upon your online store for your sake, as well as in the best interest of your customers – if they’re a victim of an attack, it’s unlikely they’ll stick around to buy from you ever again. As with all online stores, they should always be https:// secure buy installing a valid SSL certificate o the server. This will bring more trust to potential buyers! It is also useful to offer multiple forms of payment by using PayPal and Stripe/SagePay/WorldPay to offer your customers more security when it comes to purchasing products/services from your shop.

Well, I guess that wraps it up, are you starting an e-commerce shop and came across this article? Leave a comment, we’d love to help you on your journey!

 

It’s good to share

Top 12 Best CMS Platforms (2019/2020)

A CMS platform gives you tools to manage the content on your website, its appearance, and many other things you might need to keep your website up to date. But which are the better CMS platforms out there for different needs in website design and web development? In this article, we’ll go through the highlights of those we consider to be the top twelve CMS platforms for 2019 and the upcoming year. We’ll advise you on which is better for you depending on the web development skills of those who’ll be using it, your website’s goals, and many other circumstances that might at play during your web development process. So, on to the list!

WordPress.org

Did you know that one-third of all websites around are built on WordPress? If not, you’ll figure out why in a minute. WordPress.org started out to be a blogging platform, but these days it has grown into a full-blown CMS useful for any kind of project. We usually use Magento to integrate larger e-commerce solutions, these tend to be stores with over 2,500 products. For smaller sized shops we would go for WordPress with the free to use WooCommerce plugin. There are all sorts of plugins you can install on WordPress websites to make them have all the functions you need, so the installing process is pretty straightforward and user-friendly. If you’re looking for an even easier way to develop a blog or website, you can always count on WordPress.com.

WordPress.com

WordPress.com keeps most of the more advanced features for Premium users, but it’s a lot easier to navigate if you haven’t ever used a CMS platform before. If you prefer to pay and have the platform do all the hard work for you, WordPress.com is the best option you’ve got out there. It’s meant to be even more user-friendly than its .org version, so you should have no issues using it to create any website. Keep in mind that if you want some free CMS solution, WordPress.org might be better for you: with WordPress.com, the free version won’t get you very far, but if you just want to create a blog for your company, it should suit you alright.

Drupal

Now if you’re an advanced user, Drupal should be well-known for you. For high-traffic websites, this is the best solution out there, close to WordPress.org when it comes to the number of users worldwide. Being open-source, you’ll have to host it using PHP on an Apache server, which makes it more difficult to implement than the other options we mentioned previously. For enterprise platforms, Drupal is the more suitable option, being able to withstand a large amount of traffic and having plenty of customisation available through thousands of modules available. You don’t even need to know how to code, being able to use one of the over two thousand themes available to build your custom solution.

Ghost

This one is widely considered to be the best CMS for bloggers. You can either pay for the Pro version and just get it set up instantaneously or host it in your server if the requirements for it are met. It is quite clean-looking, but don’t be fooled – it’s a lot more work to set it up if you don’t choose the Pro version (in comparison to WordPress). Ghost’s “integrations” work as plugins on WordPress, allowing you to set up many options like e-commerce, newsletters and many other features.

Grav

Made for small websites, Grav uses flat-file architecture, which means you don’t need to create a database on MySQL or anything similar to use it. Your whole website can be stored in a single file on your server. This makes it quite easy to install and to create backups for, however, if you’re thinking about using it for a bigger project, forget about it. Grav is lightweight for a reason – you can’t build huge websites using it without realising its shortcomings. However, for simpler websites, Grav should be enough and much easier to set up than WordPress.

Prestashop

Prestashop is a great CMS tool if you want an easy to set up e-commerce solution. If can be used at your store as an invoicing platform as well, so you’ll have all your sales connected with your stock data. You can choose the theme for your online store, but Prestashop is supposed to be simple so don’t expect to be able to code many changes to your online shop. However, it’s still a pretty good solution if you want a hassle-free e-commerce solution.

Shopify

Shopify is arguably the most widely known option for adding an online store to your website. Boasting over a million clients worldwide, Shopify is a good solution for medium to large-sized e-commerce shops. It provides themes that are both customisable and responsive, however, if you’re looking for an option in which you can code your way through it, Shopify is not your best option. Most things on Shopify are ready-made and suit many different needs, however, if you need a bespoke solution, it might not be your option.

Magento

Once again talking about e-commerce, Magento might not have the same amount of clients as Shopify, but it’s more suitable for products and services that need a bit of tinkering about to be integrated into an online shop. If you have a shop with over two thousand five hundred items, you’ll probably need Magento. It allows you to have a larger database and to customise further than Shopify while allowing for extensions that make your life easier as an e-commerce manager.

Wix

If customisation does not matter much to you and you just want your website set up quickly and easily, Wix might be what you’re looking for. This CMS platform comes with plenty of templates that will make any entry-level user happy while making the web development process incredibly easy. However, don’t expect to be able to do with Wix the same you could be doing with a CMS like WordPress – Wix is an entry-level solution like we mentioned, so don’t expect a lot of customisation.

Webflow

If the perspective of coding to create a new website is daunting for you but you don’t want a cookie-cutter like website, Webflow might be your best bet. Webflow not only offers the CMS but also provides hosting, which makes it a lot easier if you need a website done quickly but don’t want to miss out on customisation. It is also responsive, which is highly important in an age in which mobile searches make up for more than half of the total web traffic. Webflow also provides you with a lot of research material that can be helpful in creating the perfect website for you.

Squarespace

Squarespace is an all-in-one solution if you’re looking for a beautiful website. With hosting, plenty of templates to choose from, and custom domains with zero hassle, you can adjust your website to your needs without needing to go the extra mile. It also includes blogging spaces, SEO tools and much more in a single CMS platform, so Squarespace enters this list as one of our favourites for creating a website in a fast and effective manner.

Conclusion

This is our rundown of twelve CMS platforms for 2019 and 2020 that will probably withstand the test of time. Some are older, some are more recent. No matter what, you’ll find a solution for you on this list – it all comes down to your needs for your website and your team’s coding skills. There’s a bit for everyone on this list, so just pick your favourite and you should be all set. Ready?

Not sure which platform is most suited to your business? Then get in touch with our team and we’ll be happy to assist you with your next project.

 

It’s good to share

The advantages of a bespoke website / WordPress / Magento

Are you looking for a website for your brand, but still not sure about how to go about it? In this article, we’ll dissect the advantages of having a bespoke website built for your company instead of an off-the-shelf variety. You probably have looked into it and figured it would be cheaper to just get a theme for your WordPress website and edit just a few bits. However, even though that’s a cheaper option, it might become obsolete quite fast, making you spend more in the long run just to keep it up to date with your company’s evolution and growth. Below you’ll find a few reasons why.

Customisation

When you have an off-the-shelf website, there’s only so much you can customise. You can change the pages and the logo, but in the end, it’s going to be similar to many other websites which use the same theme. With a bespoke website, you’ll never have that issue. You get the pages you need, with the design you want, for the content that best suits your brand’s digital strategy. At Silva Web Designs, we use mostly WordPress to build bespoke websites – which means that no matter how much detail goes into it, you’ll always have an easy back office to work with if you eventually need to change some content on your own.

Website speed

This is a really important factor if you want your website to have a good ranking in terms of SEO. With an off-the-shelf solution, a lot of times your website will be full of plugins and code that you don’t really need. This will slow down your website, not only making it difficult to navigate but also ruining your SEO efforts. To increase your website speed, we recommend a bespoke website solution. This way, you get only the code you need to make your website work, making it faster and more efficient. This is one huge advantage you’ll have over an off-the-shelf solution when it comes to ranking higher on Google results. Google cares a lot about website speed – in fact, don’t we all? Users don’t have any sympathy for slow websites, and usually what isn’t user-friendly isn’t SEO friendly either. A bespoke website will be optimised to your advantage, making it easier to trump your competition – which we’ll discuss in the next point.

Competitive advantage

Even though you might think a bespoke website is too expensive for your company, the costs of having an off-the-shelf solution will become quite prominent over time. An off-the-shelf solution usually incorporates a lot of plugins which aren’t probably necessary for what you want to do with your website, and those plugins need constant updating. If the plugins stop getting updates, it’s likely some functions of your website are not going to work. In web development, being able to update easily is essential to make your website withstand the test of time. Other than that, if your customers are looking for your services, you’ll want to stand out using UX/UI features, a great looking web design, and the right code that will make all of it come together in a neat package. Your customers are searching the web to make their life easier – if your website loads fast, is well-designed to make your CTAs accessible, and uses responsive code, you’re already ahead of your competition. A bespoke website is much more likely to work perfectly on mobile, which is also something you should consider. Most users look for services or products on their mobile phones, which is the main reason why your website should adapt to every device out there. Besides, a good website will increase your sales, which will pay for whatever you invest in web development in the beginning.

Security

When you use an off-the-shelf solution, the extra code you don’t need can be a reason for failure. All those plugins accessing your data can be a major security risk – whereas, with a bespoke option, you know exactly who’s working on web development, so any security issues can be handled swiftly.

At Silva Web Designs, we design bespoke websites through WordPress which are tailored to your needs and business goals. Need an online shop for your website as well? We also work with Magento, which makes it easy to buy your product or service directly through your website, reducing your sales cost. Think you’re ready to dive in into a bespoke website for your company? Contact us today for more info!

 

It’s good to share

What’s new in WordPress 5.3? Newly added features in the WordPress 5.3 “Kirk” release

Today we’re going to go through the latest features with WordPress 5.3, you’ll also learn why this update is so awesome!

WordPress 5.3 “Kirk” was released on November 12th 2019. This article will reveal all the new changes in WordPress. We’ll also tell you what you can expect in terms of usability and higher efficiency when working with blocks in WP editor.

To update, you can update automatically from the Dashboard –> Updates menu in your site’s admin area or visit the WordPress Downloads page.

Highlights

5.3 expands and refines the block editor introduced in WordPress 5.0 with new blocks, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers to complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts have never been easier.

Block Editor Improvements

This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.

Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: colour contrast on form fields and buttons, consistency between editor and admin interfaces, new snack bar notices, standardizing to the default WordPress colour scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.

Expanded Design Flexibility

WordPress 5.3 adds even more robust tools for creating amazing designs.

  • The new Group block lets you easily divide your page into colourful sections
  • The Columns block now supports fixed column widths
  • The new Predefined layouts make it a cinch to arrange content into advanced designs
  • Heading blocks now offer controls for text and background colour
  • Additional style options allow you to set your preferred style for any block that supports this feature

Introducing Twenty Twenty

As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a central content column!

As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface Inter, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.

Improvements for Everyone

Automatic Image Rotation

Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perseverance of many dedicated contributors.

Site Health Checks

The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.

Admin Email Verification

You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.

For Developers

Date/Time Component Fixes

Developers can now work with dates and timezones in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.

PHP 7.4 Compatibility

WordPress 5.3 aims to fully support PHP 7.4. This release contains multiple changes to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.

Conclusion

WordPress 5.3 update is a pretty big update in comparison to its previous updates. WordPress just keeps getting better and better and we always look forward to their releases.

You can read a more detailed update regarding this version over on the official WordPress Page.

Thanks for reading, and enjoy the update!

 

It’s good to share

How to Dynamically Add a WordPress Post Title in Contact Form 7

The Contact Form 7 WordPress plugin is a very powerful plugin that is very typically used on a lot of WordPress websites that requires forms. There are times we run into situations where we need to dynamically add a WordPress post title, URL or fields in either the subject line or email body generated by the form. Luckily, this situation is very easy to handle with the help of an extension plugin. In this tutorial, we will teach you how to dynamically add a WordPress post title in the Contact Form 7 plugin.

Step 1: Install the Contact Form 7 Dynamic Text Extension Plugin

First things first, we need to download and install the ‘Contact Form 7 Dynamic Text Extension Plugin’ from the WordPress plugin directory. This plugin will allow the ability to add dynamic content capabilities to the ‘Contact Form 7 Plugin’.

Please Note:

  • – Make sure that you also have the ‘Contact Form 7 Plugin’ installed.
  • – This is a very powerful plugin and dynamically adding the WordPress post title is just one of its many capabilities.

Step 2: Generate the Hidden Dynamic Content Tag in Contact Form 7

Now we will generate the hidden dynamic content tag that will be used to dynamically add the WordPress post title in ‘Contact Form 7’.

While in the WordPress Dashboard, go to the ‘Contact Form 7’ settings page and make sure you are viewing the ‘Form’ tab. Copy and paste the form-tag code below then add it inside the form code block:-


[dynamichidden page-title "CF7_get_post_var key='title'"]

The above code will add a hidden text input to the form which will pre-populate the page title. This is good to use when you are using the same contact form on multiple pages so you know where the user has submitted the form from.

Alternatively, you can display the page URL or slug using one of the below shortcodes instead:-


[dynamichidden page-url "CF7_bloginfo show='url'"]
[dynamichidden page-slug "CF7_bloginfo show='url'"]

Step 3: Displaying the Hidden Dynamic Content Tag Variable in Contact Form 7

Finally, we will display the hidden dynamic content tag variable in ‘Contact Form 7’ form.

While still on the ‘Contact Form 7’ settings page, click on the ‘Email’ tab. You can now use the variable code tag below to display the WordPress post title in either the ‘Subject’ or ‘Message Body’ of the ‘Contact Form 7’ form.


[page-title]

If you are using the URL or Slug fields in this example, you would use the below code tag:-


[page-url]
[page-slug]

If you are having problems getting this tutorial to work please reread the tutorial and try again, if you still cannot get it to work please leave us a comment below and we will respond as soon as possible. I hope this helps.

 

It’s good to share