This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: AIWP Jer's Query Demo | |
* Plugin URI: https://jerclarke.org | |
* Description: Simple demo of Jer's custom queries using AIWP internals | |
* Author: Jer Clarke | |
* Version: 0.1 | |
* Author URI: https://jerclarke.org | |
* Text Domain: jer-aiwp-queriess | |
* Domain Path: /languages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[client_id] => | |
[client_secret] => | |
[access_front] => Array | |
( | |
[0] => administrator | |
) | |
[access_back] => Array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gv_promo_card large=1 aspect_ratio='' image_url='https://globalvoices.org/wp-content/uploads/2023/03/gv-inverted-earths-800x450.png' image_alt_text='Alt text' image_link_url='/about/'] | |
<h3>We are Global Voices</h3> | |
<big> Global Voices is an international, multilingual community of writers, translators, and human rights activists. Together, we leverage the power of the internet to tell stories that build understanding across borders.</big> | |
<big><a href="/about/">Learn more »</a></big>[/gv_promo_card] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Helper methods to add to the acceptance tester class ($I) | |
/** | |
* Run this before submitting a form/clicking link when we want to check the page reloaded later | |
* | |
* Sets a JS var that we can check later to know that the page | |
* has reloaded | |
* |
OlderNewer