Plugin Directory

Changeset 3354702


Ignore:
Timestamp:
09/02/2025 12:36:42 PM (7 months ago)
Author:
galaxyweblinks
Message:

new release

Location:
flexible-layout-preview-image-for-acf
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • flexible-layout-preview-image-for-acf/tags/1.4.1/CHANGELOG.md

    r3354073 r3354702  
    11# Changelog ##
     2
     3## [1.4.1]
     4-  Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
    25
    36## [1.4]
  • flexible-layout-preview-image-for-acf/tags/1.4.1/README.md

    r3354073 r3354702  
    88**Requires PHP:** 7.4
    99**Requires Plugins:** advanced-custom-fields (>= 5.0) 
    10 **Stable tag:** 1.4
     10**Stable tag:** 1.4.1
    1111**License:** GPLv2 or later 
    1212**License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) 
     
    6666## Changelog
    6767
     68**1.4.1**
     69* Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
     70
    6871**1.4**
    6972* Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
  • flexible-layout-preview-image-for-acf/tags/1.4.1/assets/css/flexible-layout-preview-image-for-acf.css

    r3354073 r3354702  
    1 .acf-fc-popup {
     1.acf-fc-popup.acf-fc-popup-module {
    22  box-sizing: border-box;
    33  position: fixed !important;
     
    1515
    1616@media only screen and (min-width: 783px) {
    17   .acf-fc-popup .acf-fc-popup {
     17  .acf-fc-popup.acf-fc-popup-module .acf-fc-popup.acf-fc-popup-module {
    1818    width: 80%;
    1919    height: 80%;
     
    2121}
    2222
    23 .acf-fc-popup * {
     23.acf-fc-popup.acf-fc-popup-module * {
    2424  box-sizing: border-box;
    2525}
    2626
    27 .acf-fc-popup::before, .acf-fc-popup::after {
     27.acf-fc-popup.acf-fc-popup-module::before, .acf-fc-popup.acf-fc-popup-module::after {
    2828  border-color: transparent !important;
    2929}
    3030
    31 .acf-fc-popup::before {
     31.acf-fc-popup.acf-fc-popup-module::before {
    3232  content: '';
    3333  position: fixed;
     
    4343}
    4444
    45 .acf-fc-popup ul {
     45.acf-fc-popup.acf-fc-popup-module ul {
    4646  display: flex;
    4747  flex-wrap: wrap;
     
    5858}
    5959
    60 .acf-fc-popup ul::after {
     60.acf-fc-popup.acf-fc-popup-module ul::after {
    6161  content: '';
    6262  display: block;
     
    6565}
    6666
    67 .acf-fc-popup ul li {
     67.acf-fc-popup.acf-fc-popup-module ul li {
    6868  width: 100%;
    6969  padding: 15px;
     
    7272
    7373@media only screen and (min-width: 600px) {
    74   .acf-fc-popup ul li {
     74  .acf-fc-popup.acf-fc-popup-module ul li {
    7575    width: 50%;
    7676  }
     
    7878
    7979@media only screen and (min-width: 1200px) {
    80   .acf-fc-popup ul li {
     80  .acf-fc-popup.acf-fc-popup-module ul li {
    8181    width: calc(100% / 3);
    8282  }
    8383}
    8484
    85 .acf-fc-popup ul li a {
     85.acf-fc-popup.acf-fc-popup-module ul li a {
    8686  padding: 0;
    8787  box-shadow: 0 10px 16px -6px #777;
     
    9090}
    9191
    92 .acf-fc-popup ul li a:hover, .acf-fc-popup ul li a:focus, .acf-fc-popup ul li a:active {
     92.acf-fc-popup.acf-fc-popup-module ul li a:hover, .acf-fc-popup.acf-fc-popup-module ul li a:focus, .acf-fc-popup.acf-fc-popup-module ul li a:active {
    9393  box-shadow: 0 10px 6px -6px #777;
    9494}
    9595
    96 .acf-fc-popup ul li a:hover .acf-fc-popup-label, .acf-fc-popup ul li a:focus .acf-fc-popup-label, .acf-fc-popup ul li a:active .acf-fc-popup-label {
     96.acf-fc-popup.acf-fc-popup-module ul li a:hover .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:focus .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:active .acf-fc-popup-label {
    9797  background-color: #006799;
    9898}
    9999
    100 .acf-fc-popup ul li a .acf-fc-popup-label {
     100.acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-label {
    101101  position: relative;
    102102  background-color: #0085ba;
     
    113113}
    114114
    115 .acf-fc-popup ul li a .acf-fc-popup-image {
     115.acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-image {
    116116  background-position: center !important;
    117117  background-repeat: repeat-x !important;
  • flexible-layout-preview-image-for-acf/tags/1.4.1/assets/js/flexible-layout-preview-image-for-acf.js

    r3163868 r3354702  
    1717// Transform a link into a div for styling purpose
    1818jQuery('body').on('click', 'a[data-name="add-layout"]', function() {
    19   setTimeout(function() {
    20     jQuery('.acf-fc-popup a').each(function() {
     19     // Add custom class
     20    jQuery('.acf-fc-popup').addClass('acf-fc-popup-module');
     21    jQuery('.acf-fc-popup.acf-fc-popup-module a').each(function() {
    2122      var html = '<div class="acf-fc-popup-label">' + jQuery(this).text() + '</div><div class="acf-fc-popup-image"></div>';
    2223      jQuery(this).html(html);
    2324    });
    24   }, 0);
    2525});
     26
     27// Remove custom class when a layout is chosen
     28jQuery('body').on('click', '.acf-fc-popup.acf-fc-popup-module a[data-layout]', function ($) {
     29  $(this).closest('.acf-fc-popup').removeClass('acf-fc-popup-module');
     30});
  • flexible-layout-preview-image-for-acf/tags/1.4.1/readme.txt

    r3354073 r3354702  
    77Requires PHP: 7.4
    88Requires Plugins: advanced-custom-fields (>= 5.0)
    9 Stable tag: 1.4
     9Stable tag: 1.4.1
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 1.4.1 =
     77 Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
    7678
    7779= 1.4 =
  • flexible-layout-preview-image-for-acf/trunk/CHANGELOG.md

    r3354073 r3354702  
    11# Changelog ##
     2
     3## [1.4.1]
     4-  Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
    25
    36## [1.4]
  • flexible-layout-preview-image-for-acf/trunk/README.md

    r3354073 r3354702  
    88**Requires PHP:** 7.4
    99**Requires Plugins:** advanced-custom-fields (>= 5.0) 
    10 **Stable tag:** 1.4
     10**Stable tag:** 1.4.1
    1111**License:** GPLv2 or later 
    1212**License URI:** [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) 
     
    6666## Changelog
    6767
     68**1.4.1**
     69* Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
     70
    6871**1.4**
    6972* Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
  • flexible-layout-preview-image-for-acf/trunk/assets/css/flexible-layout-preview-image-for-acf.css

    r3354073 r3354702  
    1 .acf-fc-popup {
     1.acf-fc-popup.acf-fc-popup-module {
    22  box-sizing: border-box;
    33  position: fixed !important;
     
    1515
    1616@media only screen and (min-width: 783px) {
    17   .acf-fc-popup .acf-fc-popup {
     17  .acf-fc-popup.acf-fc-popup-module .acf-fc-popup.acf-fc-popup-module {
    1818    width: 80%;
    1919    height: 80%;
     
    2121}
    2222
    23 .acf-fc-popup * {
     23.acf-fc-popup.acf-fc-popup-module * {
    2424  box-sizing: border-box;
    2525}
    2626
    27 .acf-fc-popup::before, .acf-fc-popup::after {
     27.acf-fc-popup.acf-fc-popup-module::before, .acf-fc-popup.acf-fc-popup-module::after {
    2828  border-color: transparent !important;
    2929}
    3030
    31 .acf-fc-popup::before {
     31.acf-fc-popup.acf-fc-popup-module::before {
    3232  content: '';
    3333  position: fixed;
     
    4343}
    4444
    45 .acf-fc-popup ul {
     45.acf-fc-popup.acf-fc-popup-module ul {
    4646  display: flex;
    4747  flex-wrap: wrap;
     
    5858}
    5959
    60 .acf-fc-popup ul::after {
     60.acf-fc-popup.acf-fc-popup-module ul::after {
    6161  content: '';
    6262  display: block;
     
    6565}
    6666
    67 .acf-fc-popup ul li {
     67.acf-fc-popup.acf-fc-popup-module ul li {
    6868  width: 100%;
    6969  padding: 15px;
     
    7272
    7373@media only screen and (min-width: 600px) {
    74   .acf-fc-popup ul li {
     74  .acf-fc-popup.acf-fc-popup-module ul li {
    7575    width: 50%;
    7676  }
     
    7878
    7979@media only screen and (min-width: 1200px) {
    80   .acf-fc-popup ul li {
     80  .acf-fc-popup.acf-fc-popup-module ul li {
    8181    width: calc(100% / 3);
    8282  }
    8383}
    8484
    85 .acf-fc-popup ul li a {
     85.acf-fc-popup.acf-fc-popup-module ul li a {
    8686  padding: 0;
    8787  box-shadow: 0 10px 16px -6px #777;
     
    9090}
    9191
    92 .acf-fc-popup ul li a:hover, .acf-fc-popup ul li a:focus, .acf-fc-popup ul li a:active {
     92.acf-fc-popup.acf-fc-popup-module ul li a:hover, .acf-fc-popup.acf-fc-popup-module ul li a:focus, .acf-fc-popup.acf-fc-popup-module ul li a:active {
    9393  box-shadow: 0 10px 6px -6px #777;
    9494}
    9595
    96 .acf-fc-popup ul li a:hover .acf-fc-popup-label, .acf-fc-popup ul li a:focus .acf-fc-popup-label, .acf-fc-popup ul li a:active .acf-fc-popup-label {
     96.acf-fc-popup.acf-fc-popup-module ul li a:hover .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:focus .acf-fc-popup-label, .acf-fc-popup.acf-fc-popup-module ul li a:active .acf-fc-popup-label {
    9797  background-color: #006799;
    9898}
    9999
    100 .acf-fc-popup ul li a .acf-fc-popup-label {
     100.acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-label {
    101101  position: relative;
    102102  background-color: #0085ba;
     
    113113}
    114114
    115 .acf-fc-popup ul li a .acf-fc-popup-image {
     115.acf-fc-popup.acf-fc-popup-module ul li a .acf-fc-popup-image {
    116116  background-position: center !important;
    117117  background-repeat: repeat-x !important;
  • flexible-layout-preview-image-for-acf/trunk/assets/js/flexible-layout-preview-image-for-acf.js

    r3163868 r3354702  
    1717// Transform a link into a div for styling purpose
    1818jQuery('body').on('click', 'a[data-name="add-layout"]', function() {
    19   setTimeout(function() {
    20     jQuery('.acf-fc-popup a').each(function() {
     19     // Add custom class
     20    jQuery('.acf-fc-popup').addClass('acf-fc-popup-module');
     21    jQuery('.acf-fc-popup.acf-fc-popup-module a').each(function() {
    2122      var html = '<div class="acf-fc-popup-label">' + jQuery(this).text() + '</div><div class="acf-fc-popup-image"></div>';
    2223      jQuery(this).html(html);
    2324    });
    24   }, 0);
    2525});
     26
     27// Remove custom class when a layout is chosen
     28jQuery('body').on('click', '.acf-fc-popup.acf-fc-popup-module a[data-layout]', function ($) {
     29  $(this).closest('.acf-fc-popup').removeClass('acf-fc-popup-module');
     30});
  • flexible-layout-preview-image-for-acf/trunk/readme.txt

    r3354073 r3354702  
    77Requires PHP: 7.4
    88Requires Plugins: advanced-custom-fields (>= 5.0)
    9 Stable tag: 1.4
     9Stable tag: 1.4.1
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 1.4.1 =
     77 Ensured compatibility with WordPress 6.8.2 and ACF Pro 6.5+
    7678
    7779= 1.4 =
Note: See TracChangeset for help on using the changeset viewer.