When we develop any custom WordPress theme we need to use different functions. We need to write those functions in functions.php file of the custom theme. I have prepared some of those basic functions and included in the functions.php file. I have mentioned the usage / procedure to use the function in the same file.
You have to download the functions.php file and put it inside your theme folder.
Following functions are included in functions.php file.
- Navigation / Menu
- Remove default UL markup from wp_nav_menu output
- Enable featured image with custom dimension
- Image compression while uploading
- Remove width and height attributes from inserted images
- Enable sidebar widget
- Shorten post / page title by word limit
- Shorten excerpt by word limit
- Shorten content by word limit
- Strip images from content
- Display the content of a page by page ID
- Display the content of a page by page slug
- Anti spam email shortcode inside content editor
- Change default sender email address for generated emails
- Change default sender name for generated emails
- Remove default widgets
- Remove WordPress version from Head
- Remove login error message on login page
- Enqueue script in footer
- Enqueue CSS in header
- Disable admin bar for all users but admins in the front end
GitHub URL: https://github.com/blbwd/wp-functions
FlexClip is an easy-to-use and free video maker that helps everyone create professional looking videos in just a matter of seconds, whether it is a promo video, a real estate video, a tutorial video, a company video or a personal life video.
You can cut a clip from your video quickly and make it far more dynamic with the combination of text animations and voice recordings. Besides, FlexClip’s powerful editing tools allow you to take full control over the video appearance, background music, and more.
Are you looking for any tools online to make a wonderful poster on your own? In general, the poster is an excellent medium to spread products, companies or even thoughts. From students to business people, learn to make a right poster is a necessary skill for promoting their purposes.
For many people, it is hard to create a unique poster that differs from any others and stand out from the crowd. Thus, DesignCap is appearing.
The logo is an essential part of businesses. To get a unique logo can be important to show your company culture. In general, to hire a designer to custom a logo can be a great choice for many companies. But if you own a small business or a start-up, create a logo with an online logo maker can be economical than hire a professional designer. Here, I want to show you a brilliant logo maker named DesignEvo to help you design a logo online in minutes.
DesignEvo logo maker is one of the graphic design products of PearlMountain. It is devoted to helping a large number of small business owners, startups, and bloggers design right logos in an easy way.
74,652,825 websites depend on WordPress and yet yours was the one that got hacked? Well, join the club, you’re not alone!
WordPress is a phenomenally popular site that powers about 30% of the internet. I have also been a constant victim of getting my WordPress site hacked frequently and decided to take action needed to stop this once and for all. Here is how I found a solution to my hacking woes.
While browsing the internet for the best security plugin by WordPress out there I came across MalCare. This was a relatively new security feature that I became even more convinced of as I learned more about it. And let me tell you, I went for it, and since then, my site hasn’t been hacked to date.
WordPress migration is the bare necessity of running an active website. All WordPress customers need to deal with the aggravations with migrating their site beginning with one web host onto the next web host.
It is known by the web society that WordPress migration is a overwhelming undertaking. This is clear with the by and large wide number of instructional exercises and articles concerning it. Even more importantly, the expenses incurred in this system are a wide sum.
In the 21st century, we would look for our prerequisites to be fulfilled intuitively for a comprehensive customer endeavour. For the particular strategies to stay reasonable to this day and age, it is fundamental for the required virtual processes to be quick, i.e. they ought to be simple for the customer.
WordPress has profitable strength of 14 years on the web. Even so, after this time, migration must be done manually. This is genuinely tiresome. You will be responsible for content creation and administration; additionally, even back-end work like migration for your website has to be done by you here.
FotoJet is an all-in-one free online tool for photo editing, graphic design and photo collages. With 600+ creative collage templates, 80+ classic photo grid templates and 300+ professional design templates, it enables you to create amazing collages, photo cards, social media graphics, and posters quickly in a few minutes. What’s more, you are free to retouch your photos with the numerous powerful editing tools. It works perfectly in any browser, without the hassles of downloading and installing!
What you can do with this nice application.
Checking its Graphic Designer, you will find 900+ professional designs, including Facebook Cover, Facebook Post, Instagram Post, Twitter Header, YouTube Channel Art, and Poster, Logo, etc. It’s flexible to customize your creations with photos, texts, online clipart images, lines, shapes and other elements. Under DESIGN mode, you can unleash your creativity freely to make gorgeous photo designs!