Reset plugin’s section ID counter
-
Hi folks,
When I look at the source code that the FPA plugin generates when I include a featured page into widgets on the Genesis theme, it creates a new ID:
<section id="featured-page-advanced-14" class="widget featured-content featuredpage"> <section id="featured-page-advanced-15" class="widget featured-content featuredpage"> <section id="featured-page-advanced-16" class="widget featured-content featuredpage">
That’s great, but this never resets, and the IDs keep going (even for deleted content).
These numbers can grow and also become difficult to target via CSS if they keep changing.
Is there a way to influence these changes? Reset them, or chose a number manually for each widget?
Also, when I reinstall the plugin, it never starts on one, but two:
<section id="featured-page-advanced-2" class="widget featured-content featuredpage">
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Reset plugin’s section ID counter’ is closed to new replies.