Plugin Directory

Changeset 3304150


Ignore:
Timestamp:
06/01/2025 06:26:56 AM (10 months ago)
Author:
vaksin
Message:

0.2.4

  • Add no wrap option to Radas Breadcrumbs element for Breakdance
Location:
radas
Files:
179 added
5 edited

Legend:

Unmodified
Added
Removed
  • radas/trunk/inc/bd-elements/elements/Radas_Breadcrumbs/css.twig

    r3304101 r3304150  
    66  {{ macros.spacing_padding_all(design.container.padding) }}
    77  {{ macros.borders(design.container.borders) }}
    8   justify-content: {{ design.container.content_alignment }};
     8  justify-content: {{ design.container.content_alignment }}; 
    99}
    1010
     11{% if design.container.no_wrap %}
     12  %%SELECTOR%% > * {
     13      text-overflow: ellipsis;
     14      overflow: hidden;
     15      white-space: nowrap; 
     16  }
     17{% endif %} 
    1118
    1219%%SELECTOR%% {
  • radas/trunk/inc/bd-elements/elements/Radas_Breadcrumbs/element.php

    r3304101 r3304150  
    9595        [],
    9696        ['type' => 'unit', 'layout' => 'inline'],
     97        false,
     98        false,
     99        [],
     100      ), c(
     101        "no_wrap",
     102        "No Wrap",
     103        [],
     104        ['type' => 'toggle', 'layout' => 'inline'],
    97105        false,
    98106        false,
     
    169177        "Integration",
    170178        [],
    171         ['type' => 'button_bar', 'layout' => 'inline', 'items' => [['value' => 'radas', 'text' => 'Radas'], ['text' => 'Schema Pro', 'value' => 'schemapro']]],
     179        ['type' => 'button_bar', 'layout' => 'vertical', 'items' => [['text' => 'Schema Pro', 'value' => 'schemapro'], ['text' => 'Yoast SEO', 'value' => 'yoast'], ['text' => 'Rank Math', 'value' => 'rankmath']], 'buttonBarOptions' => ['layout' => 'multiline', 'size' => 'small']],
    172180        false,
    173181        false,
  • radas/trunk/inc/bd-elements/elements/Radas_Breadcrumbs/ssr.php

    r3304101 r3304150  
    88$integration = $propertiesData["content"]["breadcrumbs"]["integration"] ?? null;
    99if ($integration) {
    10     if ($integration == 'radas') {
    11         echo Breadcrumb::get_breadcrumb(Breadcrumb::get_radas_breadcrumb_list(), null, null, false);
    12     }
    13 
    1410    if ($integration == 'schemapro') {
    1511        if ( class_exists( '\BSF_AIOSRS_Pro_Schema_Template' ) ) {           
     
    1915        }
    2016    }
     17
     18    if ($integration == 'yoast' ) {
     19        if ( function_exists('yoast_breadcrumb') ) {           
     20            yoast_breadcrumb();
     21        } else {
     22            echo "<p>Please install Yoast.</p>";
     23        }       
     24    }
     25
     26    if ($integration == 'rankmath' ) {
     27        if ( function_exists('rank_math_the_breadcrumbs') ) {           
     28            rank_math_the_breadcrumbs();
     29        } else {
     30            echo "<p>Please install RankMath.</p>";
     31        }       
     32    }
     33
    2134} else {
    22     echo '<p>Please select a breadcrumbs integration.</p>';
     35    echo Breadcrumb::get_breadcrumb(Breadcrumb::get_radas_breadcrumb_list(), null, null, false);
    2336}
  • radas/trunk/radas.php

    r3304101 r3304150  
    44 * Plugin URI:        https://wpradas.com
    55 * Description:       The Lightweight WordPress Plugin for Effortless Options Page Creation
    6  * Version:           0.2.3
     6 * Version:           0.2.4
    77 * Requires at least: 6.5
    88 * Requires PHP:      8.0
  • radas/trunk/readme.txt

    r3304101 r3304150  
    55Requires at least: 6.5
    66Tested up to: 6.8.1
    7 Stable tag: 0.2.3
     7Stable tag: 0.2.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7070
    7171== Changelog ==
     72= 0.2.4 =
     73
     74* Add no wrap option to Radas Breadcrumbs element for Breakdance
     75
    7276= 0.2.3 =
    7377
Note: See TracChangeset for help on using the changeset viewer.