Master detail demo
You are now on the master page.
This demo combines two publications to create a master|detail page. This gives you more flexibility for both, the master and the detail publication. The parent publication shows the table with a dynamic hyperlink to the detail page. When the users clicks on the dynamic hyperlink the bike id is used to show the detail page.
Click on a Show Bike Details hyperlink to see the detail page.
Brand | Brand Type | Color | Show Bike Details |
---|---|---|---|
Brand | Brand Type | Color | Show Bike Details |
Shortcode used for this master page
[wpdataaccess pub_id="7"]
Master publication
Show only the most important columns and add a dynamic hyperlink to the detail publication. Dynamic hyperlink used for this publication:
https://wpdataaccess.com/data-publisher-detail-page-demo-detail/?wpda_search_column_bike_id=$$bike_id$$
> How do I create a dynamic hyperlink?
Detail publication
Make sure you select only one row in your dynamic hyperlink! And set the following options in your publication:
Number Of Columns = 1
Type = Expanded
Show Icon = No
Allow ordering? = Disabled
Table options (advanced) =
{
"dom": "t"
}
Credits
The idea to combine two separate publications into one master|detail publication came from Charles Godwin. Charles is also the author of the alternative WP Data Access search algorithm extension.
Thank you Charles!