{"id":242,"date":"2017-03-16T21:07:32","date_gmt":"2017-03-16T21:07:32","guid":{"rendered":"http:\/\/wpreloaded.com\/?page_id=242"},"modified":"2019-02-20T23:56:03","modified_gmt":"2019-02-20T18:56:03","slug":"reference","status":"publish","type":"page","link":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/","title":{"rendered":"Apply Online Reference"},"content":{"rendered":"<style><span style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" data-mce-type=\"bookmark\" class=\"mce_SELRES_start\">\ufeff<\/span>.entry-content li{margin-bottom: 20px}<\/style>\n<h4>Custom theme template<\/h4>\n<p>Ads archive page(listing page) &amp; ad detail page(single page) are completely customizable . For complete custom structure you can create archive template file <strong><em>archive-aol_ad.php<\/em><\/strong> and single template file <strong><em>single-aol_ad.php<\/em><\/strong> in your theme with your own HTML structure.<\/p>\n<p>For custom ad types which you define in plugin&#8217;s settings, you need to create custom template files accordingly i. e. <em><strong>archive-aol_CustomType.php<\/strong><\/em> &amp; <em><strong>single-aol_CustomType.php<\/strong><\/em>. Replace <em><strong>CustomType<\/strong> <\/em>keyword according to ad type.<\/p>\n<p>Three functions are available to get content of an application on <i>single<\/i> template file:<\/p>\n<ol>\n<li><b>aol_features($post_id)<\/b><br \/>\n<strong>$post_id<\/strong> <em>(integer)(optional) Default: Current Post ID.<\/em><br \/>\nThis functions returns features of an application in string format.<\/li>\n<li><b>aol_form($post_id)<\/b><br \/>\n<strong>$post_id<\/strong> <em>(integer)(optional) Default: Current Post ID.<\/em><br \/>\nThis functions returns application form in string format.<\/li>\n<li><b>aol_form_fields($post_id)<\/b><br \/>\n<strong>$post_id<\/strong> <em>(integer)(optional) Default: Current Post ID.<\/em><br \/>\nThis function returns associative array of application form fields. Application form field&#8217;s KEY, TYPE and OPTIONS are returned.<\/li>\n<\/ol>\n<p><i><b>IMPORTANT:<\/b> when using one or more of above function, you *must* check for its existence before using it, otherwise your site may badly break with a fatal error at next Plugin update .<\/i><\/p>\n<hr>\n<h4>apply_filters( &#8216;aol_content&#8217;, $content, $features, $form )<\/h4>\n<p>This filter hook can be used to modify the output of &amp;#91;aol&amp;#93; shortcode. This hook returns $content. You can use this filter hook in your theme&#8217;s functions.php file in this way:<\/p>\n<p><code>add_filter('aol_content', 'my_custom_function', 10, 3);<br \/>\nfunction my_custom_function( $content, $features, $form ){<br \/>\n\/\/Modiy $content here<br \/>\nreturn $content;<br \/>\n}<\/code><\/p>\n<hr>\n<h4>do_action(&#8216;aol_after_form_fields&#8217;);<\/h4>\n<p>This hook is used to append content i. e. custom input fields, at the end of an application form. For compatibility with existing user interface, add class <i>form-control<\/i> to the <i>input<\/i> and <i>textarea<\/i> HTML elements and wrap newly created elements in a div with class <i>form-group<\/i><\/p>\n<hr>\n<h4>apply_filters(&#8216;aol_upload_folder&#8217;, $upload_folder);<\/h4>\n<p>This filter hook is used to change the folder of file attachments. The parent folder is wp-content.<br \/>\n<b>$upload_folder<\/b> (string) A folder location within <em>wp-content<\/em> folder. Default is <em>uploads\/aol<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom theme template Ads archive page(listing page) &amp; ad detail page(single page) are completely customizable . For complete custom structure you can create archive template file archive-aol_ad.php and single template file single-aol_ad.php in your theme with your own HTML structure. For custom ad types which you define in plugin&#8217;s settings, you need to create custom [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-242","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Apply Online Reference - WP Reloaded<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apply Online Reference - WP Reloaded\" \/>\n<meta property=\"og:description\" content=\"Custom theme template Ads archive page(listing page) &amp; ad detail page(single page) are completely customizable . For complete custom structure you can create archive template file archive-aol_ad.php and single template file single-aol_ad.php in your theme with your own HTML structure. For custom ad types which you define in plugin&#8217;s settings, you need to create custom [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Reloaded\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/spiderteams\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-20T18:56:03+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/reference\\\/\",\"url\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/reference\\\/\",\"name\":\"Apply Online Reference - WP Reloaded\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpreloaded.com\\\/#website\"},\"datePublished\":\"2017-03-16T21:07:32+00:00\",\"dateModified\":\"2019-02-20T18:56:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/reference\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/reference\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/reference\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpreloaded.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plugins\",\"item\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Apply Online Plugin\",\"item\":\"https:\\\/\\\/wpreloaded.com\\\/plugins\\\/apply-online\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Apply Online Reference\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpreloaded.com\\\/#website\",\"url\":\"https:\\\/\\\/wpreloaded.com\\\/\",\"name\":\"WP Reloaded\",\"description\":\"Think beyond the limitations\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpreloaded.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apply Online Reference - WP Reloaded","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/","og_locale":"en_US","og_type":"article","og_title":"Apply Online Reference - WP Reloaded","og_description":"Custom theme template Ads archive page(listing page) &amp; ad detail page(single page) are completely customizable . For complete custom structure you can create archive template file archive-aol_ad.php and single template file single-aol_ad.php in your theme with your own HTML structure. For custom ad types which you define in plugin&#8217;s settings, you need to create custom [&hellip;]","og_url":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/","og_site_name":"WP Reloaded","article_publisher":"https:\/\/web.facebook.com\/spiderteams","article_modified_time":"2019-02-20T18:56:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/","url":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/","name":"Apply Online Reference - WP Reloaded","isPartOf":{"@id":"https:\/\/wpreloaded.com\/#website"},"datePublished":"2017-03-16T21:07:32+00:00","dateModified":"2019-02-20T18:56:03+00:00","breadcrumb":{"@id":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpreloaded.com\/plugins\/apply-online\/reference\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpreloaded.com\/"},{"@type":"ListItem","position":2,"name":"Plugins","item":"https:\/\/wpreloaded.com\/plugins\/"},{"@type":"ListItem","position":3,"name":"Apply Online Plugin","item":"https:\/\/wpreloaded.com\/plugins\/apply-online\/"},{"@type":"ListItem","position":4,"name":"Apply Online Reference"}]},{"@type":"WebSite","@id":"https:\/\/wpreloaded.com\/#website","url":"https:\/\/wpreloaded.com\/","name":"WP Reloaded","description":"Think beyond the limitations","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpreloaded.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"}]}},"_links":{"self":[{"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/pages\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/comments?post=242"}],"version-history":[{"count":37,"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/pages\/242\/revisions"}],"predecessor-version":[{"id":1706,"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/pages\/242\/revisions\/1706"}],"up":[{"embeddable":true,"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/pages\/8"}],"wp:attachment":[{"href":"https:\/\/wpreloaded.com\/api\/wp\/v2\/media?parent=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}