This file contains hidden or 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 | |
| // Add this filter to register formatter callbacks. I can be placed in your child theme. | |
| add_filter('df_acf_formatter_callbacks', 'post_builder_custom_formatters'); | |
| // Callback filter registers various formatters. | |
| // Each callback has 2 arguments | |
| // - $fieldValue = This is the value of your post meta used in DF - ACF Field Module | |
| // - $attrs = This contains any additional attributes passed via Additional shortcode attributes | |
| // in the DF - ACF Field Module |
This file contains hidden or 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 | |
| class DF_Icons_Helper | |
| { | |
| /** | |
| * Get unique options keys. Will be used to indentify duplicates. | |
| */ | |
| public function get_options_keys($options) | |
| { |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag text='youtube' video_type="youtube" video_url='https://www.youtube.com/watch?v=_DiaOb6j10 |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag text='vimeo' video_type="vimeo" video_url='https://vimeo.com/63502573'] |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag text='facebook' video_type="facebook" video_url='https://www.facebook.com/bhagavadgitaclass/videos/1663201357072109/'] |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag text='html5' video_type="html5" webm_url="http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4" mp4_url="http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4"] |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag post_id='' text='anchor text'] |
This file contains hidden or 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
| [df_video_overlay_using_anchor_tag post_id='' text='anchor text'] |
This file contains hidden or 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
| a:hover{ text-decoration:underline !important;} |