I have another question regarding this:
I'd like to throw some custom shortcodes and some of the code generated in the Search and Pagination boxes into Output Editor field. It seems that the filters and sorting options aren't working. Should I expect problems organizing the view this way?
SEARCH AND PAGINATION:
[wpv-filter-start hide="false"]
<div class="form-group">
<label>[wpml-string context="wpv-views"]Vendor[/wpml-string]</label>
[wpv-control-postmeta display_values="Expertox,LabCorp,Quest,Ravgen,Alere" field="wpcf-vendor" type="select" source="custom" url_param="wpv-wpcf-vendor"]
</div>
[wpv-filter-end]
Loop Editor:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-post-body view_template="Loop item in Main View"]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
Loop Template:
<div class="test-single">
[toolset_access role="Administrator,Consumer,Doctor"]<h2>[types field="test-name"][/types]</h2>[/toolset_access]
<div class="details-container">
<p class="click-for-details">Click to show details</p>
<div class="ul-container">
[wpv-conditional if="( $(wpcf-additional-information) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Additional Information: [types field="additional-information"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-test-name) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Test Name: [types field="test-name"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-description) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Description: [types field="description"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-matrix) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Matrix: [types field="matrix"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-suggested-retail-price) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Suggested Retail Price: [types field="suggested-retail-price"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-patient-preparation) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Patient Preparation: [types field="patient-preparation"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-aliases) ne '' )"][toolset_access role="Administrator,Consumer,Doctor"]
- Aliases: [types field="aliases"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor-category) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor Category: [types field="vendor-category"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor: [types field="vendor"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor-contact-name) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor Contact Name: [types field="vendor-contact-name"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor-email-address) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor Email Address: [types field="vendor-email-address"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor-phone) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor Phone: [types field="vendor-phone"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-vendor-website) ne '' )"][toolset_access role="Administrator,Doctor"]
- Vendor Website: [types field="vendor-website"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-test-code) ne '' )"][toolset_access role="Administrator,Doctor"]
- Test Code: [types field="test-code"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-cpt) ne '' )"][toolset_access role="Administrator,Doctor"]
- CPT: [types field="cpt"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-segment) ne '' )"][toolset_access role="Administrator,Doctor"]
- Segment: [types field="segment"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-poc) ne '' )"][toolset_access role="Administrator,Doctor"]
- POC: [types field="poc"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-afg-cost) ne '' )"][toolset_access role="Administrator,Doctor"]
- AFG Cost: [types field="afg-cost"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-shipping-cost) ne '' )"][toolset_access role="Administrator,Doctor"]
- Shipping Cost: [types field="shipping-cost"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-collection-instruction) ne '' )"][toolset_access role="Administrator,Doctor"]
- Collection Instruction: [types field="collection-instruction"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-specimen-stability) ne '' )"][toolset_access role="Administrator,Doctor"]
- Specimen Stability: [types field="specimen-stability"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-transportation-notes) ne '' )"][toolset_access role="Administrator,Doctor"]
- Transportation Notes: [types field="transportation-notes"][/types]
[/toolset_access][/wpv-conditional]
[wpv-conditional if="( $(wpcf-notes) ne '' )"][toolset_access role="Administrator,Doctor"]
- Notes: [types field="notes"][/types]
[/toolset_access][/wpv-conditional]
</div>
</div>
</div>
Output Editor:
<div class="main-desktop-grid">
<div class="filter-meta-html">
[wpv-filter-meta-html]
</div>
<div class="login-controls">
[login-screen]
</div>
<div class="search-box">
[wpv-filter-controls]
<div class="form-group">
<label>[wpml-string context="wpv-views"]Search[/wpml-string]</label>
[wpv-filter-search-box output="bootstrap"]
</div>
[/wpv-filter-controls]
[wpv-filter-submit output="bootstrap"]
</div>
<div class="results">
[wpv-sort-orderby type="list" options="field-wpcf-test-name,field-wpcf-segment,field-wpcf-vendor,field-wpcf-suggested-retail" label_for_field-wpcf-test-name="By Test Name" label_for_field-wpcf-segment="By Segment" label_for_field-wpcf-vendor="By Vendor" label_for_field-wpcf-suggested-retail="By Price" orderby_ascending_for="field-wpcf-test-name,field-wpcf-segment,field-wpcf-vendor,field-wpcf-suggested-retail" list_style="default"]
[wpv-layout-meta-html]
<div class="current page">You're on Page [wpv-pager-current-page]</div>
<div class="form-inline">
<div class="form-group">
<label>[wpml-string context="wpv-views"]Go to page: [/wpml-string]</label>
[wpv-pager-nav-dropdown output="bootstrap"]
</div>
</div>
</div>
</div>