I’m not sure if any template has this already or if this is even feasible. Some advice would be appreciated.
Where I started from with my search is templates/tp_template_2021.php
? In particularly, the get_entry ()
function seems to be doing string concatenation. So, I guess what I need to do is add a number to the line "$s = '<div class="tp_publication' . $class . '">';
?
This seems to be called by the get_single
function in core/publications/templates.php
. I noticed there is a $pub_count
variable that is initialised to 0. I could subtract it from the total number of publications (which is available at the top, next to the word “entries”) to get a decreasing number…
Anyway, that is my current idea at the moment. But given there is a number being passed into the function, I’m wondering if there is an even easier way. Or is what I’m considering even impossible and I shouldn’t bother trying.
Thank you in advance!
Ray
Related to this, is there a plugin that can put a title over any block? For example, the code block doesn’t have a title but I like to set a title like “Example Code”.
]]>Is it possible to add a character such as a period after the numbering so it looks like?
1.
1.1.
1.2.
2.
First of all, thank you guys for your really helpful plugin. It is a must-have in my website.
I am reaching out to you to see how can it be solved a problem I have with numbering invoices.
My site uses Woocommerce Subscriptions plugin, and since I have been using it invoice’s numbering is not continous anymore. Main order purchase generate properly it numbering but when it comes to renewal it miss previous numbering and generate a different one.
Also, I set a custom billing field for ID customer’s number on the Woocommerce’s payment form section. I customized your plugin’s template in order to show this field in the invoice, but this ID customer’s number is only showed at Main order purchases, renewal invoices does not show this info.
Hope you can help me with this 2 problems.
Thank you in advantage.
]]>Footnotes will be numbered based on their appearance in the post.
Actual Result
The footnotes are instead numbered 1, 5, 2, 3, 4. The correct footnote text is displayed on number hover, but the footnotes in the bottom are doubly misordered as 1, 3, 4, 5, 2.
Steps to Replicate
Bizarrely, the only time I’ve encountered this issue was when I was making a minimal working example for a previous bug report. The numbering works fine on all the real posts I’ve ever used footnotes on, but on this page (and, as far as I can tell, only on this page) they render incorrectly.
The post HTML is as follows:
This is a footnote.((This is footnote 1. Dicta quas esse enim aut tempore corporis nobis. Quaerat dolorem repellat quo qui quam ducimus mollitia nulla. Perferendis blanditiis voluptatem laudantium et ut ea illo veritatis.))
This is a footnote.((This is footnote 2. Dicta quas esse enim aut tempore corporis nobis. Quaerat dolorem repellat quo qui quam ducimus mollitia nulla. Perferendis blanditiis voluptatem laudantium et ut ea illo veritatis.))
This is a footnote.((This is footnote 3. Dicta quas esse enim aut tempore corporis nobis. Quaerat dolorem repellat quo qui quam ducimus mollitia nulla. Perferendis blanditiis voluptatem laudantium et ut ea illo veritatis.))
This is a footnote.((This is footnote 4. Dicta quas esse enim aut tempore corporis nobis. Quaerat dolorem repellat quo qui quam ducimus mollitia nulla. Perferendis blanditiis voluptatem laudantium et ut ea illo veritatis.))
This is a footnote.((This is footnote 5. Dicta quas esse enim aut tempore corporis nobis. Quaerat dolorem repellat quo qui quam ducimus mollitia nulla. Perferendis blanditiis voluptatem laudantium et ut ea illo veritatis.))
Testing Performed
When i visit the woocommerce->orders menue, there is the total number of completed orders. In my case this is now -> ALL(583), DELETED (0), (583) COMPLETED.
The problem is, if i bulk export all invoices, then i have only 581. And the last invoice number is also just 581. So, how is this possible, that woocommerce is counting wrong. Maybe someone can help me
]]>