Created
November 19, 2018 14:20
-
-
Save yhira/740612681b0aebc4a250de037a27c17e to your computer and use it in GitHub Desktop.
アピールエリアに画像リンクのみを表示する
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 //アピールエリア | |
/** | |
* Cocoon WordPress Theme | |
* @author: yhira | |
* @link: https://wp-cocoon.com/ | |
* @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later | |
*/ ?> | |
<?php //アピールエリアを表示するか | |
if (is_appeal_area_visible() && !is_amp()): ?> | |
<a href="<?php echo get_appeal_area_button_url(); ?>" class="appeal-wrap"> | |
<div id="appeal" class="appeal<?php echo get_additional_appeal_area_classes(); ?>"> | |
<div id="appeal-in" class="appeal-in wrap"> | |
</div> | |
</div> | |
</a> | |
<?php endif ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment