Shortcode error on single page listing
-
I created a custom single listing page and used the suggested shortcodes to set up the layout.
There is an error in the [directorist_listing_contact_information] shortcode
The social media icons just show the coloured squares and not the logos. The built-in single listing page shows icons as expected.
I see the issue is down to a typo in the code.
This is the code in the built-in page (which works)
<span class=”fab fa-facebook”>This is the code from a custom single listing page using the shortcode
<span class=”fa fa-facebook”>Notice the “b” is missing. If I hack this back in using Chrome dev tools, the icon displays.
Using Directorist 6.5.7 and latest WP
Can this be fixed?
The topic ‘Shortcode error on single page listing’ is closed to new replies.