neoWP
Category: WordPress Integration
Version: 1.0
neoWp seamlessly integrates your VisualNEO Web applications with WordPress, allowing you to access, display, and interact with WordPress users and content (posts, pages, media, and categories) directly from within your app.
Using the WordPress REST API, neoWp can perform public queries, retrieve structured data in JSON format, and even detect whether a user is logged in (if the app is hosted under the same domain as the WordPress installation).
This plugin is ideal for developers who want to extend a WordPress site with custom front-end applications, dashboards, or hybrid systems that combine the power of VisualNEO Web with WordPress’s user and content management capabilities.
Key Features
- Connect VisualNEO Web apps to any WordPress site with REST API enabled.
- Detect and retrieve information about the currently logged-in user (same-domain).
- Search and fetch posts, pages, and media dynamically.
- Retrieve and display categories, authors, and comments.
- Build WordPress-powered interfaces such as custom readers, dashboards, or content explorers.
- Fully asynchronous commands with callback support.
Typical Use Cases
- Embedding a VisualNEO Web app into a WordPress site for advanced interactivity.
- Creating custom front-end dashboards for WordPress users.
- Building mobile-friendly views of posts, pages, or news feeds.
- Integrating WordPress media and categories into dynamic apps.
- Developing tools that extend or customize existing WordPress functionality.
neoWpSetBaseUrl
Purpose: |
Set the base URL for your WordPress installation (e.g. https://example.com) |
Category: |
neoWp |
Syntax: |
neoWpSetBaseUrl "theUrl"
theUrl Base WordPress URL |
neoWpCheckUser
Purpose: |
Checks if a WordPress user is logged in and retrieves data (app must be located in same domain than WP) |
Category: |
neoWp |
Syntax: |
neoWpCheckUser resultVar callback
resultVar Variable to store result callback Callback subroutine (optional) |
neoWpSearchPosts
Purpose: |
Searches WordPress posts using the REST API by a query string. |
Category: |
neoWp |
Syntax: |
neoWpSearchPosts "query" resultVar callback
query Text to search in posts resultVar Variable to store results callback Callback subroutine (optional) |
neoWpGetPost
Purpose: |
Retrieves a WordPress post by its ID. |
Category: |
neoWp |
Syntax: |
neoWpGetPost postId resultVar callback
postId ID of the post resultVar Variable to store post data callback Callback subroutine (optional) |
neoWpGetPages
Purpose: |
Retrieves WordPress pages. |
Category: |
neoWp |
Syntax: |
neoWpGetPages resultVar callback
resultVar Variable to store pages callback Callback subroutine (optional) |
neoWpGetPage
Purpose: |
Retrieves a WordPress page by its ID. |
Category: |
neoWp |
Syntax: |
neoWpGetPage pageId resultVar callback
pageId ID of the page resultVar Variable to store page data callback Callback subroutine (optional) |
neoWpGetMedia
Purpose: |
Retrieves WordPress media library items. |
Category: |
neoWp |
Syntax: |
neoWpGetMedia resultVar callback
resultVar Variable to store media items callback Callback subroutine (optional) |
neoWpGetCategories
Purpose: |
Retrieves all categories from WordPress. |
Category: |
neoWp |
Syntax: |
neoWpGetCategories resultVar callback
resultVar Variable to store categories callback Callback subroutine (optional) |
neoWpGetPostsByCategory
Purpose: |
Retrieves posts belonging to a specific category. |
Category: |
neoWp |
Syntax: |
neoWpGetPostsByCategory categoryId resultVar callback
categoryId ID of the category resultVar Variable to store posts callback Callback subroutine (optional) |
neoWpGetPostsByAuthor
Purpose: |
Retrieves posts written by a specific author. |
Category: |
neoWp |
Syntax: |
neoWpGetPostsByAuthor authorId resultVar callback
authorId ID of the author resultVar Variable to store posts callback Callback subroutine (optional) |
neoWpGetCommentsForPost
Purpose: |
Retrieves comments for a specific post. |
Category: |
neoWp |
Syntax: |
neoWpGetCommentsForPost postId resultVar callback
postId ID of the post resultVar Variable to store comments callback Callback subroutine (optional) |
Created with the Personal Edition of HelpNDoc: Free PDF documentation generator