lizmarc
Forum Replies Created
-
Forum: Plugins
In reply to: [Progress Bar] display different text string regarding percentageHi Chris thanks again, for your quick reply, I have taken a quick look at the url you passed and I can sort of see / envision what you are saying…
obviously being no programmer… My interpretation of what you have said is that you can slightly modify your plugin with an option that if selected can allow a different set of parameters to be input.
I still feel lost however on to how I would write my ‘filter’ and pass the parameer… other than what I said previously 🙂
thank you MarkForum: Plugins
In reply to: [Progress Bar] display different text string regarding percentageHi Chris, many thanks for the reply, it sounds like a good idea for you to be able to create this ‘filter hook’ not sure how your implementation would work? I could spend considerable time trying hack your code 🙂 and it would probably not work again…
I was thinking in simple terms maybe in the function var entries;
you would go something like text= “string 1, string 2, …4 or 5” and your code may do some magic breaking the string parts into an array. Then doing the logic ‘IF then else ‘against the percentage value < n to to put the appropriate string into the bar?
However
I did wonder if it was possible to do this on the page with another plugin or method of stipulating the var values but my recent readings on what can actually done a wordpress page without using custom templates and such like, noting I have created the whole site using the suffusion theme a couple of years ago.
I have looked at plugins like php exec/ snippet – such that it could pre manipulate the logic and pass the parameters but being a complete novice with no experience in CSS / java / php programming with wordpress, It may be totally the wrong direction etc.
So please advise me what your ‘hook’ method would be and what ‘costs’ may be involved. Many thanks kind regards Mark