Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter megaheff

    (@megaheff)

    I can appreciate that you have been working hard on Gutenberg, and that there will be some non-developers out there that will find it incredibly useful. However I do not believe us developers need an editor like this.

    If integrating Gutenberg into WordPress is to compete with the likes of Wix, then just add it to wordpress.com only for the people with little or no knowledge of development who want to easily create an account and edit pages.

    I have installed the Gutenberg plugin and have been using it for the last few months, and I have come to the conclusion that it is not something that I will ever use as the classic editor does everything I need it to.

    • This reply was modified 6 years, 3 months ago by megaheff.

    This is how i get around there being no alt tags.

    Add the code below to line 188 in the class-wppninja-bootstrap-gallery-public.php file, which is located in the plugins public folder:

    $alt_text = trim(strip_tags( $thumbnail_info->post_title ));

    Then add the code below to the img tag on line 192:

    alt='”.$alt_text.”‘

    This will then retrieve what you have entered into the image’s Title field and display it in the image’s alt tag.

    i’m yet to figure out how to retrieve the data from the image’s alt field, but for now this way gets the job done so that the images aren’t missing the all important alt tags.

    I hope this helps.

    • This reply was modified 7 years, 6 months ago by megaheff.
    • This reply was modified 7 years, 6 months ago by bdbrown.
Viewing 2 replies - 1 through 2 (of 2 total)