Styling the code
-
Hi,
I have the problem with this code line:
return '<p class="bawpvc-ajax-counter" data-id="' . $id . '">' . $count . '</p>';
because it generates a paragraph.
I have the counter placed with a shortcode in a text like:Photo Gallery (Visitors: 569)
Now it like
Photo Gallery (Visitors:
569
)In version 2.19.13 the code was just
return $count;
Do I need the class and date-id in the code?
Or how can I define the first code that there is no <p> in it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Styling the code’ is closed to new replies.