Dentalia has now been updated to 2.3 and a major update for Recycle is coming soon. We hope you enjoy the new features! Thanks for your patience!

Okay
  Public Ticket #3007937
Feature Request
Closed

Comments

  • Doug Arnold started the conversation

    Hi, Andrej

    It's fairly impossible to know which @Orion Static Block to move when there's no way to name them; there is no way to identify them individually. Any ideas or thoughts?

    Much thanks,  Doug

  •  564
    OrionThemes replied

    In such cases, I would recommend using the Live editor. So you will see exactly which part you are moving. 

    If you're interested to dive a bit deeper, read on.

    We use Page Builder API to build the forms for custom widgets. The way it works, it picks up the first text field for the description and if it doesn't find it, it just displays the value of the first option. In the case of static block, it will show widget title if there is one. The next field is the post id, as this is how the content is  saved for the form field. 

    9045238796.png

    So the only way I know, to label it clearly, would be to create a separate "admin label" field on top, which wouldn't do anything on the front end, but would serve the purpuse of adding a description in the page edit screen. 

    So it would look like this:

    5709809232.png
    8484081090.png

    To apply this changes, edit the wp-content/recycle-plugin/widgets/so-widgets/orion-static-block-w/orion-static-block-w.php file and add this on the top of form fields declaration:

        'orion_admin_label' => array(
             'type' => 'text',
             'label' => esc_html__('Admin label', 'recycle'),
         ),

    so it looks like this:

    9004000796.png

    Unfortunatly, when you update the recycle plugin, this changes will be lost. (you'll need to modify the file again). 

    Kind regards,

    Andrej