The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

Shortcodes

Hero Section Video or Image Banner Shortcode Using ACF field.

By using these snippet, You can use acf field video or image as hero section banner. first you need to create acf field project_video or project_image then we use them to make the actually what we wanna show on hero section. Use this shortcode to see the magic.


Display Total BuddyBoss Groups

This shortcode displays the total number of groups available across the BuddyBoss site. BuddyBoss’s groups_get_total_group_count() returns the site’s total group count.



Display BuddyBoss Connection Count

This snippet creates a shortcode that displays the total number of connections for the currently logged-in BuddyBoss member. BuddyBoss provides friends_get_total_friend_count() for retrieving a user’s connection count.


Display Website Name

This snippet displays the name of the current WordPress website using a simple shortcode. It is useful for reusable headers, footers, and custom content.


Display Current User Email

This snippet displays the email address associated with the currently logged-in WordPress account. It uses a shortcode so the information can easily be added to any page, post, or shortcode-compatible widget.


Display Current User Display Name

This snippet creates a shortcode that displays the current user’s WordPress display name. It is useful for personalized greetings, dashboards, and member areas.


Display Current User Login Name

This snippet displays the username of the currently logged-in WordPress user using a shortcode. If the visitor is not logged in, it displays a login message instead.


Dynamic Copyright Date in WordPress Footer

You can simply add a copyright date by editing the footer template in your theme. However, it will not show when your site started, and it will not automatically change the following year. This code can add a dynamic copyright date in the WordPress footer This function looks for the date of your first post […]


Current Year Shortcode

The Current Year Shortcode allows you to display the current year anywhere on your WordPress website using a simple shortcode. Instead of manually updating the year in your footer, copyright notice, posts, or pages every new year, this snippet automatically generates the current year from WordPress. This is useful for keeping copyright text and other […]


Proudly supported by