The Woocommerce extended profile plugin transforms the WooCommerce user profile experience by providing additional profile layouts for end users and businesses. It introduces a custom post type, xprofile, for managing user-generated content, such as posts with links, followers, and likes. The plugin includes shortcodes for rendering end users profiles ([ms_xp_xprofile]), business profiles ([ms_xp_company]), and a search interface ([ms_xp_search]). Users can connect social media accounts, upload images, and manage content via an AJAX-powered interface with TinyMCE integration. It also features a messaging system with a custom xmessage post type, accessible via a WooCommerce endpoint (xmessages), and supports role-based redirects and menu customization. With robust search capabilities, responsive design, and secure AJAX handling, this plugin is ideal for platforms connecting end users and businesses.
Features of Woocommerce extended profile plugin
- Custom Profile Types: Displays distinct layouts for end user and business profiles with avatars, bios, and social media links.
- Content Management: Allows users to create, edit, and delete
xprofileposts with titles, descriptions, links, and stats (followers, likes) via AJAX. - Social Media Integration: Shows connected accounts (e.g., Instagram, LinkedIn) with visual indicators for connection status.
- Messaging System: Enables private messaging between users via the
xmessagepost type, with unread message notifications and conversation views. - Advanced Search: Provides a search interface with filters for content style, interests, and niche, using Select2 for enhanced usability.
- Image Uploads: Supports secure image uploads to user-specific directories, with AJAX-loaded previews.
- WooCommerce Integration: Adds custom endpoints (
xprofiles,xmessages,xcontents) and redirects users to role-specific pages (e.g.,my-profilefor end users,companyfor businesses). - Responsive Design: Uses a three-column layout for profiles, with CSS and JavaScript for dynamic interactions.
- Secure & Efficient: Implements nonce verification, sanitization, and error handling for all AJAX requests and form submissions.
- Localization Support: Includes translatable strings for multilingual compatibility.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the Mobileship Extended Profile plugin through the WordPress admin panel.
- Ensure WooCommerce is installed and configured with user roles (e.g.,
enduser,business). - Add shortcodes to pages:
[ms_xp_xprofile]for end user profiles.[ms_xp_company]for business profiles.[ms_xp_search]for the search interface.- Create pages for custom endpoints (e.g.,
my-profile,company) and configure Polylang (if used) for translations.
Usage of Woocommerce extended profile plugin
- Profile Setup: Users with
enduserorbusinessroles see tailored profiles with avatars, bios, and social media links when visiting the[ms_xp_xprofile]or[ms_xp_company]shortcode pages. - Content Creation: End users can add
xprofileposts via a button in their profile, entering titles, descriptions, links, and stats, with TinyMCE for rich text editing. - Messaging: Users can send messages to others via a popup form in the search results, accessible through the
xmessagesendpoint, with unread message counts displayed in profiles. - Search Interface: Use
[ms_xp_search]to searchxprofileposts by keywords, style, interests, or niche, with results linking to profiles, content, or messaging. - Image Uploads: Users can upload images via an AJAX form, which are stored in user-specific directories and displayed in previews.
- Role-Based Redirects: After login, end users are redirected to
my-profile, and businesses tocompany, with menu items likedashboardanddownloadsremoved based on role. - Customize Styling: Modify the pluginβs appearance using CSS classes in
assets/css/custom.cssor by targeting elements like.ms-xp-xprofile-container.
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
- WooCommerce 3.0 or higher
- User roles (
enduser,business) defined in WordPress - (Optional) Polylang for multilingual support
- Pages created for custom endpoints and shortcode placement




