WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WParty

Mix website contents with WParty * pages * articles * widgets * menus * contact form... * Simple Shortcode [part] * DEV: Theme Builder

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

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"]  
<a href="PERMALINK"><h4>TITLE</h4></a>
CONTENT  
<small>TAGS</small> / <small>CATS</small> / <small>DATE</small>
[/part]

META

  • Do you want to display post meta inside the post content ?
  • [part meta="meta-name"]

LOOP

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"]
 <div class="form-content">
<form method="post" action="TARGET">
<div><label>Your Name</label></div>
<div><input type="text" name="contact-name" value="NAME"></div>
<div><label>Your Email</label></div>
<div><input type="text" name="contact-email" value="EMAIL"></div>
<div><label>Subject</label></div>
<div><input type="text" name="contact-subject" value="SUBJECT"></div>
<div><label>Message</label></div>
<div><textarea name="contact-message" rows="ROWS">
MESSAGE
</textarea></div>

<div><input type="submit" name="contact0-submit" value="SEND"></div>

<div class="response">
<div class="response-ok" style="STYLE-OK"><h3>Message Sent. Thanks for your interest.</h3></div>
<div class="response-error" style="STYLE-KO">[PROBLEM]... Please try again later...</div>
<div class="response-missing" style="STYLE-MISSING">[MISSING]... Please fill missing information...</div>
</div>

</form>
 </div>
[/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... http://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"]

PDF

  • 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

MARKDOWN

[part widget="mark"]
# This is an H1

## This is an H2

###### This is an H6

1.  Bird
2.  McHale
3.  Parish

*   Red
*   Green
*   Blue

This is [an example](http://example.com/ "Title") inline link.

[This link](http://example.net/) has no title attribute.

![Alt text](/path/to/img.jpg)

![Alt text](/path/to/img.jpg "Optional title")

*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,cell23

cell31,cell32,cell33

[/part]

[part widget="csv" cut="|"]
cell11|cell12|cell13
cell21|cell22|cell23

cell31|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"]

Requires: 3.5 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-8
Downloads: 2,019

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0