Plugin Directory

Changeset 3113614


Ignore:
Timestamp:
07/06/2024 07:18:38 PM (21 months ago)
Author:
vpelss
Message:

0.8.2

Location:
emogics-tarot-reader-for-wp
Files:
212 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • emogics-tarot-reader-for-wp/trunk/Emogic Tarot Reader Plugin for Wordpress.php

    r3052726 r3113614  
    4242   add_action("admin_init", ["EmogicTarotReader_Plugin" , "enqueue_js_admin"] );
    4343   
     44   add_action( 'wp_enqueue_scripts', ['EmogicTarotReader_Plugin' , 'my_enqueue_styles'] );
     45   
    4446  //update check
    4547   if(get_option(EMOGIC_TAROT_PLUGIN_VERSION_OPTION) != EMOGIC_TAROT_PLUGIN_VERSION) { //see what version we had
     
    5153 
    5254class EmogicTarotReader_Plugin {
     55
     56   public static function my_enqueue_styles() {
     57      wp_enqueue_style( 'EmogicWPTarotStyle',  EMOGIC_TAROT_PLUGIN_LOCATION_URL . "css/EmogicWPTarot.css");
     58      }
    5359   
    5460    public static function activate() {
  • emogics-tarot-reader-for-wp/trunk/README.md

    r3049406 r3113614  
    11## Emogic Tarot Reading plugin for Wordpress
    22
    3 A Tarot Reading plugin for Wordpress
    4 
    5 For casual users:
    6 Easily add a Tarot reader to your wordpress site.
     3Casual users will be able to easily add a Tarot reader to their wordpress site.
    74We provide 2 databases, use the standard Rider-Waite deck images, and a few spreads.
    85
    9 For advanced users:
    10 
    11 You will find this is the most flexible Tarot plugin.
    12 It was designed for those who are serious about making their own readings, databases, and using their own images.
     6Advanced users will find this is a very flexible Tarot plugin.
     7It was designed for those serious about making their own readings, databases, and using their own images.
    138You can edit everything using the wordpress editor and shortcodes.
    149It can easily be used for other types of readings. Rune readings for example.
     
    2015If anyone would like to donate databases or graphics that you have created, I would consider adding it to this plugin.
    2116
     17Try it in the Wordpress Playground first:
     18https://playground.wordpress.net/?theme=twentytwentytwo&plugin=emogics-tarot-reader-for-wp&login=yes&storage=browser&networking=yes
     19
    2220## Benefits
    2321
     
    4139
    4240Currently running at https://tarot.emogic.com/
     41Or try it as an admin on the Wordpress Playground:
     42https://playground.wordpress.net/?theme=twentytwentytwo&plugin=emogics-tarot-reader-for-wp&login=yes&storage=none&networking=yes&networking=yes&plugin=query-monitor
    4343
    4444## Install
     
    5252On activation:
    5353
    54 169 images will be copied from this plugin to the wordpress "uploads/Emogic-Images" folder.
     54169 images will be copied from the plugin to the "uploads/Emogic-Images" folder.
    5555These images will be imported to the wordpress media gallery.
    5656All the files under this plugin's "/pages" folder will be imported as wordpress pages.
     
    287287Note: the images where the selected cards will show will always be blank. In the edit screen a card has not been selected yet.
    288288
     289How do I change your awful css choices?
     290
     291My css is in css/EmogicWPTarot.css
     292I use that to distribute my brilliant css choices to your wordpress installation.
     293To over ride them the css in the file.
     294Then create a new Wordpress Page Template and add your CCS there.
     295
    289296## Support
    290297
     
    305312-Everything
    306313
     314-update installs images again!
     315-deleted in fields in playgrund
     316-add title to main page 'tarot reading online'
     317
    307318-add nonce for pay system, etc...
    308 
    309319-export and import spreads and decks -backup/restore spreads? -backup/restore decks JSON
    310 
    311320-allow email input or insist we have an account : account / input : enable / disable? account avoids spam
    312321-pay for readings
    313 
    314 -make a post welcome message...
     322-make a post welcome message?
     323-maybe a shortcode to read and add a form page? So we do not need to provide a starting link?
    315324
    316325-more spreads
    317 -Numbers Speak reading
     326-Numbers Speak For Themselves reading
    318327-click to show popup card reading
    319328
  • emogics-tarot-reader-for-wp/trunk/inc/EmogicTarotReader_Activator.php

    r3052726 r3113614  
    3232        add_filter('big_image_size_threshold', '__return_false'); // disable scaled image size
    3333
    34         try{
     34            if( ! ( defined( 'WP_HOME' ) and str_contains(WP_HOME , 'playground.wordpress.net') )  ){//ignore for sake of wp playground. It does not like copy functions, etc
     35                self::images_to_media_library();
     36        /*try{
    3537            self::images_to_media_library();
    3638        }
    3739        catch(Exception $e){
    3840            //ignore for sake of wp playground. It does not like copy functions, etc
    39         }
     41        }*/
     42            }
    4043       
    4144        //remove_filter( 'pre_option_upload_path', self::upload_path );
  • emogics-tarot-reader-for-wp/trunk/pages/Emogic Tarot

    r3049406 r3113614  
    77
    88<!-- wp:html -->
    9 <style>
    10 
    11 /* this block is here so it is easier for me to distribute my css to your wordpress installation.
    12 This is not good practice. You should create a new Page Template and add your CCS there. */
    13 
    14 BODY {
    15   color: yellow;
    16   background-color: black;
    17   background-image: url([ETSWP_pluginpath]/images/ball.jpg);
    18   background-repeat: no-repeat;
    19   background-position: center;
    20   background-attachment: fixed;
    21 }
    22 
    23 a , a:visited{
    24   color: yellow;
    25 }
    26 </style>
    279
    2810<form method="post" action="" id="ETSWP_form_settings" onsubmit="return setAction(this)">
  • emogics-tarot-reader-for-wp/trunk/pages/Emogic Tarot example 2

    r3049406 r3113614  
    33This example form breaks up the form html elements so you can easily position them using the Wordpress editor
    44-->
    5 <!-- /wp:html -->
    6 
    7 <!-- wp:html -->
    8 <style>
    9 /* this block is here so it is easier for me to distribute my css to your wordpress installation.
    10 This is not good practice. You should create a new Page Template and add your CCS there. */
    11 
    12 BODY {
    13   color: yellow;
    14   background-color: black;
    15   background-image: url([ETSWP_pluginpath]/images/ball.jpg);
    16   background-repeat: no-repeat;
    17   background-position: center;
    18   background-attachment: fixed;
    19 }
    20 
    21 a , a:visited{
    22   color: yellow;
    23 }
    24 </style>
    255<!-- /wp:html -->
    266
  • emogics-tarot-reader-for-wp/trunk/pages/Emogic Tarot example 3

    r3049406 r3113614  
    88
    99<!-- wp:html -->
    10 <style>
    11 
    12 /* this block is here so it is easier for me to distribute my css to your wordpress installation.
    13 This is not good practice. You should create a new Page Template and add your CCS there. */
    14 
    15 BODY {
    16   color: yellow;
    17   background-color: black;
    18   background-image: url([ETSWP_pluginpath]/images/ball.jpg);
    19   background-repeat: no-repeat;
    20   background-position: center;
    21   background-attachment: fixed;
    22 }
    23 
    24 a , a:visited{
    25   color: yellow;
    26 }
    27 </style>
    2810
    2911<form method="post" action="" id="ETSWP_form_settings" onsubmit="return setAction(this)">
  • emogics-tarot-reader-for-wp/trunk/pages/emogic-readings/Celtic Cross

    r3049406 r3113614  
    99}
    1010
    11 BODY {
    12   color: yellow;
    13   background-color: black;
    14 }
    15 
    16 a , a:visited{
    17   color: yellow;
    18 }
    19 
    2011</style>
    2112<!-- /wp:html -->
  • emogics-tarot-reader-for-wp/trunk/readme.txt

    r3052820 r3113614  
    44Donate link: https://www.paypal.com/donate/?hosted_button_id=26D64Y78Q96RJ
    55Requires at least: 4.0
    6 Tested up to: 6.4.4
     6Tested up to: 6.6.0
    77Requires PHP: 5.6
    8 Stable tag: 0.8.1
     8Stable tag: 0.8.2
    99License: GPLv3
    1010License URI: https://github.com/vpelss/Emogics_Tarot_Script_WP?tab=GPL-3.0-1-ov-file#readme
     
    2727
    2828If anyone would like to donate databases or graphics that you have created, I would consider adding it to this plugin.
     29
     30Try it in the Wordpress Playground first:
     31https://playground.wordpress.net/?theme=twentytwentytwo&plugin=emogics-tarot-reader-for-wp&login=yes&storage=browser&networking=yes
    2932
    3033== Installation ==
     
    5255Note: the images where the selected cards will show will always be blank. In the edit screen a card has not been selected yet.
    5356
     57= How do I change your awful css choices? =
     58
     59My css is in css/EmogicWPTarot.css
     60I use that to distribute my brilliant css choices to your wordpress installation.
     61To over ride them the css in the file.
     62Then create a new Wordpress Page Template and add your CCS there.
     63
     64EmogicWPTarot.css
    5465
    5566== Changelog ==
     67
     68= 0.8.2 =
     69Changed my css to enqueue as it should be.
     70
    5671= 0.8.1 =
    5772Attempt to make playground friendly.
Note: See TracChangeset for help on using the changeset viewer.