WParty is a WordPress Plugin to mix your website contents
* Pages
* Articles
* Widgets
* Contact Form
* Menus
* Media
- DEV: Theme Builder
PAGES
- Do you want to include the content from another page ?
- Simply use the shortcode [part]
-
[part name=」page-name」]
-
Custom HTML styles attributes can be added (id, class, style).
- [part name=」page-name」 id=」my-id」 class=」my-class」 style=」background-color:#123456;」]
Note
- The plugin also activates ALL shortcodes in Text Widgets.
- It makes easier to write HTML content in WordPress Editor, using Pages Rich Editor, and then embed the content in Text Widgets.
Note
- The plugin also disables WordPress auto (P)(/P).
- The shortcode [part name=」page-name」] can access to all public and private pages/articles (warning to multi-users site)
- This choice allows to keep parts as private content
REDIRECT
- Simple page redirection
- [part widget=」redirect」 instance=」/page-new-url/」]
SHORTCODE PROGRAMMING
- Manage easily Events or Multi-languages websites…
- Conditions can be combined with widgets.
DATE CONDITIONS
- display shortcode content between 01/03/2013 and 25/03/2013 ?
- [part name=」page-name」 start=」01-03-2013″ end=」25-03-2013″]
REQUEST CONDITIONS
- display shortcode content if URL has GET specific parameter…
- http://mysite.com/my-page/?lang=fr
- [part if=」lang=fr」 widget=」redirect」 instance=」/page-lang-fr/」]
LIST WIDGET: CUSTOM LOOP AND HTML LAYOUT
-
The widget 「list」 accepts a custom HTML model
[part widget=」list」 args=」numberposts=5&tag=my-tag1,my-tag2″]
TITLE
CONTENT
TAGS / CATS / DATE
[/part]
META
- Do you want to display post meta inside the post content ?
- [part meta=」meta-name」]
LOOP
- Default LOOP can be included same as a widget:
- Read more… https://codex.wordpress.org/Template_Tags/get_posts
- [part widget=」loop」]
- [part widget=」loop」 args=」numberposts=5&tag=my-tag1,my-tag2″]
CONTACT FORM
- Do you want to add a contact form ?
- [part widget=」contact」]
- Or build your custom contact form
-
Translate your contact form as needed
[part widget=」contact」]
Your Name
Your Email
Subject
Message
MESSAGE
Message Sent. Thanks for your interest.
[PROBLEM]… Please try again later…
[MISSING]… Please fill missing information…[/part]
Note
- Content can embed recursive shortcodes (max=10).
WORDPRESS WIDGETS
- WP Widgets can be added inside Pages/Posts. (Calendar, Recent_Posts, Tags, RSS, etc…).
- Read more… https://codex.wordpress.org/Function_Reference/the_widget
- [part widget=」news」]
- [part widget=」tags」]
- [part widget=」categories」]
- [part widget=」archives」]
- [part widget=」calendar」]
- [part widget=」pages」]
- [part widget=」rss」 instance=」url=http://applh.com/feed/」]
- [part widget=」menu」 instance=」nav_menu=my-menu」]
SIDEBARS
- [part widget=」sidebar」 name=」theme-sidebar-name」]
LOREM IPSUM
- Fill with text 「Lorem Ipsum…」
- [part widget=」lorem」]
- [part widget=」lorem」 max=」200″]
- Embed a PDF viewer in your website
- See… https://docs.google.com/viewer
- [part widget=」pdf」 width=」640″ height=」640″]http://your.website.com/file.pdf[/part]
MAP
- Embed a Google Map in your website
- See… https://maps.google.com/
- [part widget=」map」 width=」640″ height=」640″]http://maps.google.fr/maps?q=paris[/part]
- (note: don』t use the short URL http://goo.gl/maps/…)
MARKDOWN
- Prefer writing with MarkDown Syntax ?
- See… http://daringfireball.net/projects/markdown/syntax
-
Requirements: PHP5.3+
[part widget=」mark」]
This is an H1
This is an H2
This is an H6
- Bird
- McHale
- Parish
- Red
- Green
- Blue
This is an example inline link.
This link has no title attribute.
single asterisks
single underscores
double asterisks
double underscores
[/part]
CSV
- Need to include some CSV data as a Table?
- Requirements: PHP5.3+
-
note: empty lines are ignored
[part widget=」csv」]
cell11,cell12,cell13
cell21,cell22,cell23cell31,cell32,cell33
[/part]
[part widget=」csv」 cut=」|」]
cell11|cell12|cell13
cell21|cell22|cell23cell31|cell32|cell33
[/part]
WEBHOOKS: MARK2 and CSV2
- Need to fetch data from an URL ?
- eg: Google SpreadSheet
- Include some CSV external data as a Table
- Include some Markdown external code
-
Requirements: PHP5.3+
[part widget=」mark2″]
https://docs.google.com/spreadsheet/pub?key=0AhDBS7EaaokRdGQ5Z1g5cjE1YzRUS3NxRmZ4RGJYRGc&output=txt
[/part][part widget=」csv2″]
https://docs.google.com/spreadsheet/pub?key=0AhDBS7EaaokRdGFFRGNjam1HOEk2dU84d19IUGZlWVE&single=true&gid=0&output=csv
[/part]
PAGE TEMPLATE
- Need to customize your active theme with a new Page Template ?
- [part dev=」add-template」 file=」my-template」 text=」Template Name」]
- creates a file my-template.php with needed code to show as a Page Template
- (note: edit-theme role capability is required)
THEME BUILDER
- Need to create a new Theme ?
- WParty is also a theme builder
- [part theme=」My Theme」 name=」new-theme」]
- creates the folder /themes/new-theme/ and WP theme files inside to show as 「My Theme」 in Appearance Menu
- (note: edit-theme role capability is required)
Note
- WParty is designed to work with MultiSites installation.
MEDIA
- UNDER DEVELOPMENT
- Creates a local cache copy of original image
- Cache folder is /uploads/wparty/
- [part widget=」media」]http://somesite.com/image.jpg[/part]
- [part widget=」media」 width=」100″]http://somesite.com/image.png[/part]
- [part widget=」media」 width=」100″ height=」200″]http://somesite.com/image.gif[/part]
SLIDER
- UNDER DEVELOPMENT
- [part widget=」slider」 name=」my-slider」]
Happy New Year
Best wishes for 2013. 😉






