Integrate Leads & Copy content directly into your WordPress site with our comprehensive plugin featuring article import, shortcodes, and Gutenberg blocks.
Plugin Features
📰 Article Management
- • Import articles from Leads & Copy API
- • Convert articles to WordPress posts
- • Update existing posts with fresh content
- • Smart duplicate detection
- • Category management and assignment
🔍 Search & Filter
- • Search by category or ticker symbol
- • Real-time ticker search with autocomplete
- • Pagination support for large collections
- • Preserve search criteria across sessions
- • Responsive admin interface
🎯 Shortcodes
- •
[leadsandcopy_article] - Display individual articles - •
[leadsandcopy_category] - Show articles by category - •
[leadsandcopy_ticker_search] - Ticker search form - •
[leadsandcopy_share_links] - Social sharing buttons
🧱 Gutenberg Blocks
- • Article display block
- • Sidebar widget block
- • Drag-and-drop interface
- • Customizable display options
- • Social sharing integration
Installation & Setup
Requirements
- • WordPress 5.0 or higher
- • PHP 7.4 or higher
- • User with
manage_options capability - • User with
publish_posts capability
- Download the Plugin: Get the latest version from the Leads & Copy website
- Upload to WordPress: Upload the plugin files to your
/wp-content/plugins/ directory - Activate: Go to your WordPress admin panel and activate the "LeadsAndCopy" plugin
- Access Admin Panel: Navigate to "Leads & Copy" in your WordPress admin menu
Usage Guide
Admin Panel Usage
- Choose Search Mode: Select between "Category" or "Tickers" search
- Select Category: Choose a category from the dropdown (or leave as "All Categories")
- Search Tickers: Enter ticker symbols to find related articles
- Fetch Articles: Click "Fetch Leads & Copy" to load articles from the API
- Convert Articles:
- For new articles: Select WordPress categories and click "Convert to Post"
- For existing articles: Modify categories if needed and click "Update Post"
Shortcode Usage
Display Individual Article
[leadsandcopy_article show_social_share="true"] Displays an article based on the lac_article URL parameter. Include show_social_share="true" to display social sharing buttons.
Show Articles by Category
[leadsandcopy_category category="technology" target_page_id="123"] Displays a list of articles from a specific category. Requires a target page ID where individual articles will be displayed.
Ticker Search Form
[leadsandcopy_ticker_search target_page_id="123" placeholder="Search tickers..."] Creates a searchable ticker input with autocomplete functionality. Results link to the target page with ticker parameters.
Social Sharing Buttons
[leadsandcopy_share_links] Displays social sharing buttons for the current page/post with links to Twitter, Facebook, LinkedIn, and email.
Gutenberg Blocks
The plugin includes Gutenberg blocks for easy content integration:
- LeadsAndCopy Article Block: Add to any page or post to display individual articles
- LeadsAndCopy Sidebar Block: Create sidebar widgets with article listings
- Both blocks support customization and can be easily moved and resized
API Integration
The plugin integrates with the Leads & Copy API endpoints:
- •
https://leadsandcopy.com/api/categories - Fetch available categories - •
https://leadsandcopy.com/api/articles - Fetch articles with optional filtering - •
https://leadsandcopy.com/api/articles/{id} - Fetch specific article details - •
https://leadsandcopy.com/api/tickers/search - Search ticker symbols
Technical Features
Security & Performance
- • WordPress nonce verification
- • Capability-based access control
- • Input sanitization and validation
- • AJAX-powered interactions
- • Caching for improved performance
User Experience
- • Responsive design for all devices
- • Intuitive admin interface
- • Real-time search and filtering
- • Drag-and-drop block editor
- • Customizable display options
Support & Documentation
Need Help?
For technical support, feature requests, or documentation questions:
- • Email: support@leadsandcopy.com
- • Website: leadsandcopy.com
- • Documentation: Check the plugin README for detailed technical information