Plugin Directory

Changeset 3423224


Ignore:
Timestamp:
12/18/2025 08:26:38 PM (3 months ago)
Author:
happyprime
Message:

Updating readme/assets from GitHub

Location:
theme-image-block
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • theme-image-block/tags/1.1.0/readme.txt

    r3421447 r3423224  
    2727Theme images should be registered using `HappyPrime\ThemeImageBlock\register_theme_image()`. This is likely best done on the `init` or `after_setup_theme` action.
    2828
    29 ```php
     29<pre><code>
    3030HappyPrime\ThemeImageBlock\register_theme_image(
    3131    'happy-prime-logo',
     
    5757    ]
    5858);
    59 ```
     59</code></pre>
    6060
    6161### Registering Theme Image Styles
     
    6363Theme image styles should be registered using `HappyPrime\ThemeImageBlock\register_theme_image_style()`. This is likely best done on the `init` or `after_setup_theme` action.
    6464
    65 ```php
     65<pre><code>
    6666HappyPrime\ThemeImageBlock\register_theme_image_style(
    6767    'hero',
     
    7272    ]
    7373);
    74 ```
     74</code></pre>
    7575
    7676## Changelog
  • theme-image-block/trunk/readme.txt

    r3421447 r3423224  
    2727Theme images should be registered using `HappyPrime\ThemeImageBlock\register_theme_image()`. This is likely best done on the `init` or `after_setup_theme` action.
    2828
    29 ```php
     29<pre><code>
    3030HappyPrime\ThemeImageBlock\register_theme_image(
    3131    'happy-prime-logo',
     
    5757    ]
    5858);
    59 ```
     59</code></pre>
    6060
    6161### Registering Theme Image Styles
     
    6363Theme image styles should be registered using `HappyPrime\ThemeImageBlock\register_theme_image_style()`. This is likely best done on the `init` or `after_setup_theme` action.
    6464
    65 ```php
     65<pre><code>
    6666HappyPrime\ThemeImageBlock\register_theme_image_style(
    6767    'hero',
     
    7272    ]
    7373);
    74 ```
     74</code></pre>
    7575
    7676## Changelog
Note: See TracChangeset for help on using the changeset viewer.