Skip to content

The CQFS shortcode

Overview | Getting Started | CQFS shortcode | Action Hooks | Filter Hooks | Live Demos

Shortcode

When you create a build, the shortcode is also generated based on the build settings. Only rergistered shortcode is “cqfs”. The only required attribute is build id. Like –


[cqfs id="210"]

Here “210” is build id and “id” is the attribute name.

Available attributes and default values

The [ cqfs ] shortcode has several attributes that you can use to enhance the front end form. Here is the list of attributes and it’s default values which can be set.

Attribute NameDefault ValuePossible ValuesPurpose
idBuild id (post id)required
title“”“true”Display Build Title
ajax“”“true”Enable Ajax Submission
guest“”“true”Enable Guest Submission
required“”“true”Enable All Input to be Required
per_page“”“2” (number)Enable Pagination
class“”“custom class name”Insert Custom Classes
order“ASC”“ASC” / “DESC”Questions Order
orderby“date”Accepted as per WP_QueryQuestions Orderby

Example use

Suppose if you like to enable guest submission with ajax mode, then the shortcode should be similar to –

[cqfs id="210" title="true" guest="true" ajax="true"]

Resources

Overview

An overview page of CQFS plugin.

Getting Started

Find all about getting started with CQFS plugin.

CQFS shortcode

Discover CQFS shortcode use and attributes.

Action Hooks

Developers can use the available action hooks for their custom contents.

Filter Hooks

Find all available filter hooks that you can use to modify default values.

Live Demos

Discover all demos that you can easily create and use in your site.