There are occasions in which you may want to limit WordPress search results to a specific post type rather than just the default. Your theme may have custom post types that you want to be included in the search, or perhaps you only want to search the custom post type and not posts or pages. This is relatively simple to do without a plugin, which is usually best practice when possible.
Sign up for Envato Elements and get unlimited downloads starting at only $16.50 per month!
Open your theme’s functions.php file and copy the following code snippet at the bottom.
function 1wd_searchfilter($query) {
if ($query->is_search && !is_admin() ) {
$query->set('post_type',array('post','page'));
}
return $query;
}
add_filter('pre_get_posts','1wd_searchfilter');
Note the line where it says
$query->set('post_type',array('post','page'));
Change that line where it says ‘post’, ‘page’ to whatever post type you want the search to be filtered through. So, for example, your code would look like this:
function 1wd_searchfilter($query) {
if ($query->is_search && !is_admin() ) {
$query->set('post_type',array('custom_post_type_name_1','custom_post_type_name_2'));
}
return $query;
}
add_filter('pre_get_posts','1wd_searchfilter');
Be sure to change the name of the custom post type to your own.
We hope that helps you next time you need to limit WordPress search results by post type. Be sure to check out our other WordPress tutorials for more useful tips!
By default, there is no option to disable RSS feeds in WordPress, because RSS feeds allow users to subscribe to your blog posts. However, there are certain situations where you may want to turn off RSS feeds. There are a few plugins that you can use to do this, but whenever possible we always try to use as few plugins as possible and use our own code.
Sign up for Envato Elements and get unlimited downloads starting at only $16.50 per month!
By placing the following code in your theme’s functions.php file (or a site-specific plugin) when someone tries to go to the RSS feed link (yoursite.com/feed/) they will receive a message that no feed is available.
Welcome to another edition of This Week In Web Design, our weekly roundup of articles published in the past seven days related to web design and development. This week we have a wide variety of articles, ready for you to peruse and bookmark to your heart’s extent. So saddle up and take advantage of this curated list!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets
Starting at only $16.50/month!
Learn and understand what React hooks are, the basic React Hooks that are available and also examples of how to write them for your React applications.
How can we combine elements to develop powerful headers and calls to action? How do we use pre-formatted HTML text, and the text element in SVG for precise control over type? How can we optimise SVGs and make SVG text accessible? In this article, we’ll explore just that.
One of the most important considerations to be kept while including a mega menu design in a website layout is that it should contribute to the UX positively.
The new Composition API, which is available now as a plugin for Vue 2 and an upcoming feature of Vue 3, provides a much better solution for sharing code between your Vue components.
Here’s a primer for the tools all web developers should get to know, from basic Bash commands to web browser add-ons that will debug your web apps and automate navigation tests, plus continuous integrations pipelines.
Thanks to recent global events, scores of people around the world suddenly find themselves working from home – if they are lucky enough to be able to continue working at all. For newcomers to remote working, this can be a jolt to your lifestyle and pocketbook. Having to figure out how to set up a productive home office environment can be stressful and costly. But it doesn’t have to be.
In this post we are going to suggest some unconventional and creative ways to bring the cost of setting up your home office down by substituting more expensive home office supply necessities with less expensive solutions. By utilizing these ideas you can save a significant amount of stress and money and get your home office up and running quickly and affordably.
The Freelance Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets All starting at only $16.50 per month
Do you dock your laptop in a stand where it’s closed and you use exterior monitors, keyboard and mouse? If so, you could easily find yourself paying at least $30-$60 for such an accessory. Why not use a paper towel holder that you can grab for only $9.99? Not only will it perform the same functionality, but it will look slick sitting on your home office desk.
Fancy monitor stands will cost at least twice as much as using a fiberboard box such as this one. At only $15.81, you can raise your monitor up to eye level and also use it for storage at the same time.
Keeping all of the loose items on your home office desk is not only important, it is necessary for your piece of mind and productivity. Rather than paying $25 or more, pick up a cutlery tray like this one to keep your accessories in, for less than $15!
You can’t find a quality desk pad for under $20, so why not use kitchen shelf liners instead? You can cut them to your desired size, they are non-slip, they wipe clean easily, and they’re only $5.47.
Here’s a cheap alternative to more expensive cell phone and tablet stands that will prop your smaller screens up for constant visibility on your desk. At $5.99 per pair, these can’t be beat!
Ergonomic foot rests for underneath your home office desk can get crazy expensive, not to mention many of them are not the most pleasant to look at. While this recommendation is not repurposing something meant for another use, it’s a creative, fun, and unique way to give your feet a lift, and it’s only $10.99!
This is another desk necessity that is not repurposed, but for at least half the price of more decorative solutions this clip-on LED desk lamp is a steal at under $15!
Substitute this kitchen utensil rest for more costly cord and cable organizers to clean up your desk area. Run your cables through the slots and enjoy inexpensive organization for only $6.
Use these clip on hooks as a way to organize cables underneath your desk or to hang other accessories you may have for easily reachable access. This easy organizational solution can be bought for only $6.29.
This bamboo organizer will add inexpensive yet stylish flair to your home office desk. At only $7.48, this is a great buy that will help keep your desk organized and writing and other utensils easily accessible.
Do you have other creative home office solutions?
Hopefully our list has provided you with some creative ideas, and sparked you toward coming up with your own solutions that will make your personal working space unique and simultaneously affordable.
Another Friday, another edition of “This Week In Web Design”. If this is the first time you’ve checked out our weekly roundup, here’s what you’re in for: all of the articles related to web design and development published over the past seven days that we could find to bring to you in one spot. So sit a spell and browse through our curated list. Hopefully you will find helpful items to your growth in web design and development!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets
Starting at only $16.50/month!
Improve your front-end coding skills by building real projects. Solve real-world HTML, CSS and JavaScript challenges whilst working to professional designs.
March has ended, April has begun, and another week is coming to an end. With all that is going on in the world right now, why not distract yourself by browsing through our latest list of articles published in the past week about web design and development? We’ve rounded up everything we have been reading and could find to share with you, so scroll through and bookmark away. Stay safe and healthy, everyone, and enjoy this latest edition of “This Week In Web Design”!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets
Starting at only $16.50/month!
Welcome to another edition of “This Week In Web Design”, where we share with you all of the web design and development articles we’ve found that were published this past week. Chances are, if you weren’t already, you are probably working from home or maybe not working much at all. In either case, here is some quality reading for you to peruse in your efforts to continually grow your skills and knowledge in web design. Enjoy, stay safe, and stay healthy!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets
Starting at only $16.50/month!
Three-dimensional shapes and geometry add depth and visual interest to the digital space. Maybe that’s why this is a trending website design technique.
With tips for newly WFH workers and managers, the co-founder of Basecamp reflects on two decades of collaborating remotely as a team and how to manage expectations during transition.
Web designers are always on the lookout for new fonts to use in our designs, and there are a plethora of resources and type foundries that provide countless fonts for web use, so the task of browsing through these collections can be very time-consuming. We have a number of web font collections here on 1WD to aid in your search, but here we’ve created a new list focusing on fun and playful fonts for web design as we head into the Spring season.
Regardless of whether you are looking for seasonal fonts, or just something different from the norm, the free and premium fonts for web use listed below will surely provide you with some unique and interesting options to use in your design projects.
Note: be sure to check license information on these popular fonts. They may be free but some of them require reference or may not be used for commercial projects for free, although most of them are.
What a week this has been! With the Covid-19 pandemic sweeping the world and most people being quarantined in some way or another, things are rapidly changing and, for many of us, stressful. Thankfully, we have what could be a nice distraction to take your minds off those things, at least for a few minutes, with the latest version of “This Week In Web Design”. Step away from your concerns momentarily and browse through our roundup of all the articles published in the past 7 days that are web design and development related. We hope you find them useful!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets
Starting at only $16.50/month!
Moment.js is a Swiss Army knife for working with dates in JavaScript. It allows you to parse, validate, manipulate, and display dates and times using a clean and concise API.
Web design podcasts are entertaining, insightful, and easy to consume, even when you don’t have a great deal of time or focus to give. Here’s a roundup of 12 of the best.
It has widely gained acceptance over the past few years and more and more websites are willing to have conversational user interfaces on their websites.
It’s not only Friday – it’s Friday the 13th! Regardless of superstitions, it’s still time for our weekly roundup of web design and development related articles published in the past seven days. As always, we hope you will find this edition of “This Week In Web Design” useful in your endeavors to grow your web design and development skills.
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets - starting at only $16.50/month!
Thanks to some recent changes in browsers, it’s now well worth setting width and height attributes on your images to prevent layout shifts and improve the experience of your site visitors.
This roundup of the latest research for web designers includes a mix of reports along with some news and facts about something that people are talking about all around the world: the coronavirus.
Most of these tools are standalone sites that let you input stuff and output something useful, whether that’s a code snippet, a download, a piece of reformatted text, or simply some helpful information.
What kind of color trends will be popular this year? Will there be new trends in color schemes? Or would any old trends make a come-back? Here are our predictions.
Adobe Fonts is one of the few resources for web safe fonts available. Other than Google Fonts, which are free, there are not many other places you can find such a large library of fonts for use on websites. While Adobe Fonts does require paying a monthly fee to use, it is also included with most Creative Cloud plans, for which most designers will already have an account. Because this invaluable resource has thousands of available fonts, it can be difficult to rummage through all of them to come up with the best Adobe font pairings for website projects. So we’ve put together fourteen of our favorites for you in an effort to save you some time.
In the Adobe font pairings below, you will find clean, legible web fonts that are actually being pulled in directly from Adobe fonts onto the page, the same as you would on a website. These are not images. So you can see exactly how they will display on a website. The titles of each of the Adobe font pairings are clickable links to the font pages themselves, for ease of access and bookmarking to use yourself.
We hope you enjoy these 14 best Adobe font pairings we’ve suggested, and find them useful in your upcoming projects.
Paired with Proxima Nova for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis Best Adobe Font Pairings hendrerit venenatis, ultrices eget augue.
Paired with Neue Haas Grotesk for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with FF Tisa for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Aktiv Grotesk Ext for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Neue Haas Grotesk for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Franklin Gothic URW for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Interstate for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Acumin for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with FF Tisa for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Effra for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Calluna for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Basic Sans for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with JAF Domus for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
Paired with Source Sans for the body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur faucibus ut quam sed tempor. Mauris tincidunt, risus sit amet commodo pellentesque, arcu mi dapibus odio, id eleifend lectus nibh sed est. Ut tristique dui at nisl egestas congue. Curabitur in eros eget tortor mollis tempor. Duis nec euismod orci, sed congue dolor. Curabitur finibus ex et condimentum dictum. Quisque libero turpis, viverra mattis hendrerit venenatis, ultrices eget augue.
The first week in March is now behind us, and that means it’s time for another episode of “This Week In Web Design”! Below you will find all of the best articles published this week related to everything we focus on here at 1stWebDesigner, from web design and development, to WordPress, and beyond! We hope you enjoy this week’s list and find some bookmark-worthy reading material.
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets - starting at only $16.50/month!
A high-converting web form is a must if you want to capture user information, build a subscription list, or create a quick checkout experience. It isn’t enough just to have a form that looks inviting. It needs to function well!
When you’re putting together a new website or video production, you’ll often find that having stock clips on hand is extremely helpful. Abstract videos are a great resource to have in your back pocket.
In this article, we will show you an easy technique that allows you to create a sticky footer with flexbox. It takes just a few lines of code and a couple of minutes to implement it.
An absolute classic of website design. It is a timeless, old-school stylistic option that works like a Swiss watch, regardless of the environment that surrounds it.
Alpine.js is a fraction of the size of other frameworks because it involves no build steps and provides all of the tools you need to build a basic user interface.
It’s been a little while since we put together a list of best WordPress themes for magazine and news websites, so we figure it’s time to have another look. We’ve narrowed down this list to include only the top 10 best WordPress themes we could find. Each theme below is highly rated, coming in at 4-5 stars, as well as being newly released within the past few months, so they have the latest functionality, code, and support for the most current version of WordPress. And, while these are premium themes (not free), they are all relatively inexpensive, ranging from $29-$69, so they won’t break the bank when you’re looking to start your new magazine or news website. Of course, you can also sign up for an Envato Elements subscription and pay even less to download any or all of these themes, plus thousands of other downloads to boot!
For each theme in our list, we’ve provided the most important key features we could find, along with a screenshot of one of their provided layouts and a link to where you can learn more about it, view demos, and purchase. We hope this curated collection will assist you in quickly finding the best WordPress theme for your next magazine or news website!
Which of these 10 best WordPress themes will you choose?
Have you found one or more themes to use? We know you will be pleased with any of the themes in our list. Be sure to share this collection with others so they too can benefit.
This final week of February has come to an end, and it was a relatively slow one in regards to web design and development news. Still, we’ve rounded up everything we could find and listed all of this week’s articles here for you. From WordPress to CSS, templates to tools, you will find the latest resources and discussions from the past week here. We hope you find it helpful!
Your Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Icon Sets, Themes & Design Assets - starting at only $16.50/month!
We’ve picked the best Adobe XD tutorials for everyone from beginners to advanced users (and we’ve sorted them, so you can jump in at the right place for your experience level).
This article introduces Tailwind CSS, a CSS library that gives you all of the building blocks you need to build bespoke designs without opinionated styles. You’ll also learn how to seamlessly set up Tailwind CSS in a React project.
Within Sublime Text, color schemes assign different colors and font styles to scopes, which are connected to the text in the syntax. Luckily, you have hundreds of Sublime themes to choose from, and this article will present the best of them.
Foldable devices have brought with them talk of a ‘foldable web,’ and the idea that long-standing web conventions may be on the verge of a serious shakeup. Is it all hype, or is it time to get flexible?
Dark mode has been growing in popularity. Most phone and tablet interfaces have the option for users to switch to a dark, rather than the standard light default, color scheme. That’s why more designers are adding a dark mode option to their projects.
Effective visual systems can help eliminate that guesswork and uncertainty by creating layered sets of cues in the design and interface. Let’s look at a few core parts of these design systems and tease out how we can make them more culturally responsive and multifaceted.
Adobe XD CC’s design handoff and voice prototyping features come in handy. In this article, we’ll discuss what to consider when designing for screen readers, and we’ll also walk through how to use those features in XD.
While creating your responsive design, you might end up making some common mistakes. To help you avoid them, we’ve put together some possible responsive design pitfalls and their solutions.
Mapping the experience from a customer perspective helps organisations identify strategic opportunities, customer pain-points and generate innovative projects.
Another week of web design in the books!
Check back every Friday for our weekly roundup of web design and development articles from the past week. Be sure to follow us on Twitter for links to interesting articles and other updates all day every day. See you next week!
Cover photo courtesy of ShotStash.com, where you can download thousands of free stock photos to use in your commercial & personal projects.
Recently we needed to design and develop a custom blog post template for our Web Design & Development Conferences to Attend in 2020 article here on 1stWebDesigner. Rather than just stick with the same layout we use on all of our blog posts and simply creating a long list of links to the various conferences throughout the year, we wanted to give this particular post a different, more user-friendly layout, with each month of the year as its own section and a multi-column grid that would display up to three columns per row. Click on the link above to see what we came up with.
Because we had not used a custom blog post template like this before, we had to figure out how to make it happen, and, in doing so, realized this would be a great tip to share with our readers so that you too could implement this methodology should the need arise.
Sign up for Envato Elements and get unlimited downloads starting at only $16.50 per month!
Why Would You Use A Custom Blog Post Template?
In our case, it made perfect sense to use a custom blog post template because we had hundreds of conferences to share and listing them out with just plain text and links would not only be boring visually, it would really be too long to browse through in that format. You may want a particular post to stand out from the rest of your articles, you may have a series of posts that you want to have a consistent layout within the series that is different from your standard posts, or you may have a need to display a certain post’s content differently than others because of what that content consists of, as was our case. Custom blog post templates can be assigned on a per-post basis, used once or multiple times, and you can also have as many different templates as you want.
Thankfully, the capability to create and use custom templates for blog posts is built right into WordPress, and is very similar to creating custom page templates. So let’s dive in and see how simple it can be!
How To Create Your Custom Blog Post Template
There are some differences you may encounter depending on the theme you’re using, but the basics are the same regardless. If you are not already using a child theme, you will need to create one, unless you are using a custom theme of some type, otherwise if you ever upgrade the parent theme you will lose the work you are doing here. Here’s a good article on how to create a child theme.
Once you have your child or custom theme, you will need to create a new file in the root of your theme (child or custom) folder, and name it whatever you want. In our case we named ours conferences.php. There is no required naming convention here – just use whatever will help you know what that file is for.
In your code editor, add the following code to your new file in the very beginning, replacing the template name with your desired name. The second line tells WordPress where this template will be used (on posts, not pages). The last line is just a comment for our own personal use, so you can delete or add your own comment as desired.
<?php
/* Template Name: Upcoming Conferences
* Template Post Type: post
*/
/* The template for annual upcoming conferences post. */
?>
Once you save this file, you will see now see your new post template in the Template dropdown of the Post Attributes meta box on a post edit screen, as shown in the screenshot below.
The next step is to either copy over the contents of your theme’s single.php file into your new custom blog post template file and start editing and customizing as desired, or you can start from scratch (as we did) if your new layout is going to be radically different from your standard posts.
Voila! That’s It!
We’re not going to get into the coding of the whole template, as that will greatly vary depending on your requirements and the theme you’re using, but this simple little method will get you started on your way to creating your own custom blog post template in WordPress. Now you can go crazy creating all the customization you want! Have fun!
Another week is in the books, and that means it’s time for us to catch up with all the articles we’ve found that were published about web design and development over the past 7 days. Whether it’s front end development, CSS, JavaScript, WordPress, web design, or any other related skills, we’ve got you covered with our weekly roundup. Enjoy!
I recently discovered most people aren’t even aware that double position for gradient stops is something that actually exists in the spec, so I decided to write about it.
People have built great tools to help you manage multiple WordPress sites from a single unified dashboard, and I’ve collected the best options in this post.
WordPress 5.4 is scheduled to be released on March 31, 2020. It will be the first major release of the year and will ship with some significant improvements.
Reports and surveys that shed light on: The battle between mobile and desktop, Why so many websites keep getting hacked, What’s keeping ecommerce business owners awake at night, and What Google is now saying about mobile-first indexing.
Let’s take a look at the whole world of links and buttons, and all the considerations at the HTML, CSS, JavaScript, design, and accessibility layers that come with them.
A list of terrible web design clients you should stay away from at all costs. Make sure to learn how to spot them and prepare yourself for any potential troubles.
In this tutorial, we’ll build a React drag-and-drop component for file and image uploads. In the process, we’ll learn about the HTML drag-and-drop API. We will also learn how to use the useReducer hook for managing state in a React functional component.
There’s a trend afoot in website design that mixes real images with illustrations and art elements in interesting ways. And it’s quirky, unique, and beautiful!
This guide covers what’s available in the console object of Firefox and Chrome as they are often the most popular browsers for development and they do have a few differences in various aspects of the console.
We have some cool, 100% absolutely FREE vector illustrations to offer you that you can download, edit, and use any way you’d like in your personal or commercial projects without any limitations! These Adobe Illustrator files were created specifically for 1stWebDesigner readers and cannot be found anywhere else, so you can use them confident in the knowledge that you will be among a select number of designers who have access to them. We wanted to give something back to all of our loyal followers and readers, so we created these free vector illustrations just for you!
If you have skills in Adobe Illustrator, you can change the colors, remove elements, or add to the image any way you’d like. Or, if not, you can just use them as is. A high-resolution PNG and SVG of each file is included in the download. You can also grab your own copy of Adobe Illustrator here, if you don’t already own it.
First up in our collection of free vector illustrations is a woman sitting in an airport talking on her cellphone. This could be used in a multitude of ways. For instance, you could easily change the airport setting by removing the airplane and suitcase.
Cat and Character With Plant On The Stairs
Next up is a side-smiling character with a cat wandering down the stairs. Again, you could do any number of things to modify this illustration, such as moving the person the top of the stairs so that it looks like the cat is running away from them.
Windowsill Woman With A Tablet In Winter
Our final offering is a woman sitting on a window seat with a tablet while snowflakes fall outside. Take this serene setting and adjust it to fit your needs in books, flyers, web sites – however you see fit!
Download Your Free Vector Illustrations Now!
We hope you have fun with and enjoy utilizing these illustrations in your projects. Keep following 1stWebDesigner so you don’t miss out on future freebies, along with everything else we have to offer.
It’s Friday, and around here that means it’s time for another edition of “This Week In Web Design”! It also happens to be Valentine’s Day, and we think you’ll LOVE our list of resources for all things related to web design that were published over the past week. (Sorry, just couldn’t resist.) Dive on in and bookmark away!
The feast or famine cycle is the burden bearing down on many freelancer’s backs. However, that doesn’t mean freelancing isn’t a wonderful way to make your money.
When done well, conversational UI and chatbots can provide a more intuitive and helpful experience but also take the overall experience of the app to a whole new level.
The goal is to request that RSS feed, parse it, and do something useful with the data in it. RSS is XML, and XML is arguably not as easy to work with as JSON.
A design conference is a great way to recharge, refresh, and develop new skills to make you better at your job. But planning for attending a conference can be a little bit intimidating.
Short term results can be OK, but good long term results are what you want if you are to grow in your profession. In terms of web design, that means subscribing to, and adhering to, design trends that have staying power.
This article introduces Mirage JS, an API mocking library that lets you build, test and share a complete working JavaScript application without having to rely on any backend API or services. You’ll also learn how to set up Mirage JS with the progressive front-end framework, Vue.js.
This list includes invoice software that can also help with project management and time tracking as well as some that only focuses on the basics of billing and nothing more.
Accessible design is an inclusive solution in providing a structural pathway for better navigation and a great user experience for people with or without physical, emotional, and mental limitations.
Earlier I remade the design of an old calculator entirely in CSS. I had a lot of fun making it, so I decided to do the same with a Polaroid camera this time.
1stWebDesigner hopes this week’s roundup of web design and development articles will help you continue to grow in your knowledge and skills. If you are a publisher, blogger, or own a website that is publishing articles about or related to web design and you would like to make sure you get included in our lists, please contact us here.