WordPress.org

Forums

wpTextResize
[resolved] Lost (55 posts)

  1. SITEWEB44
    Member
    Posted 3 years ago #

    hello

    thank you to develop plugin for accessibility

    But i'm lost, i don't know where to past "wpTextResizeControls(0)" in my template. Could you tell me in which files please.
    I used Artisteer to built the templates

    Thank you
    Phil

    http://wordpress.org/extend/plugins/wptextresizecontrols/

  2. Trishah
    Member
    Posted 3 years ago #

    You need to put the wpTextResizeControls(0) or wpTextResizeControls(1) inside php brackets for it to show the controls.

    <?php wpTextResizeControls(0)?>

    However, I wanted mine in the header of the child theme I am developing and even though the controls were visible they did not work when clicked. I didn't try it in any other locations.

  3. bitweb
    Member
    Posted 3 years ago #

    not working for me too

  4. Trishah
    Member
    Posted 3 years ago #

    I could not fix this plugin so what I did was hard-code the following into my header: http://www.dynamicdrive.com/dynamicindex9/fluidtextresizer.htm

    I used different images and tweaked it a bit to use only what I needed but it does work in WP 3.4.1. The only thing I don't like is that on my theme the sidebar has smaller text then the content so the sidebar increases in size first then when it catches up the content then everything increases together. But it does work for me.

  5. bitweb
    Member
    Posted 3 years ago #

    trishahdee, that seems a great job. Could you transform it in a wordpress plugin ? It would be great

  6. SITEWEB44
    Member
    Posted 3 years ago #

    I will try it soon

  7. Trishah
    Member
    Posted 3 years ago #

    bitweb, my thoughts exactly!

    I'm new to creating plugins and I'd have to devote more time to learning plugin development better, but it looks like it should be pretty straightforward.

    But before I invest the time, would you and SITEWEB44 both try to install the DynamicDrive script on your sites and see if it also functions well for you? Whenever you add additional javascript to WP there can be conflicts so I'd like to do some due diligence before I spend the time.

  8. bitweb
    Member
    Posted 3 years ago #

    ok, let's do teamwork :P

  9. Trishah
    Member
    Posted 3 years ago #

    okey dokey. Either of you have PHP or WP development skills?

  10. SITEWEB44
    Member
    Posted 3 years ago #

    ok for me

  11. bitweb
    Member
    Posted 3 years ago #

    I have some theme development skills, but I'm not an expert. What I said is that I can test everything for you.

    I already installed the script, but the only thing that gets bigger is your copyright ^^

    here is a screen :

    http://www.bit-web.it/temp/ilmioquotidianoscreen.jpg

  12. Trishah
    Member
    Posted 3 years ago #

    The copyright is showing because you missed some code. That wouldn't show if you get all of it.

    Here is my test site I tried it on: http://trishah.com/wp-test_02/

  13. bitweb
    Member
    Posted 3 years ago #

    you are right, just noticed a path was wrong.
    Now the only thing that changes slightly are the images in the header.
    The strange thing is, I already seen this behavior in all others plugins I used. I cant figure out why does like this.

  14. bitweb
    Member
    Posted 3 years ago #

    adding a "targets: ["div#content"]" made it work! :)

  15. Trishah
    Member
    Posted 3 years ago #

    Whoo hoo! Can you send me your tweaked code so I can see how you did this? trishah [at] trishah dot com

  16. bitweb
    Member
    Posted 3 years ago #

    no tweak, only used the customization you suggested in your site, in the section

    targets: ["body"], //target elements to resize text within: ["selector1", "selector2", etc]

  17. Trishah
    Member
    Posted 3 years ago #

    Gotcha. Well, then I guess the rest is up to me to figure out turning it into a plugin... I don't think I can start on this today but hopefully soon.

  18. bitweb
    Member
    Posted 3 years ago #

    hi trishahdee, are you still working on the project ? If you need to test something just let me know,
    salut

  19. Trishah
    Member
    Posted 3 years ago #

    Hi bitweb,

    As a matter of fact, I did some work on it yesterday. In truth, I have a coder friend who is excellent in plugin development and we have decided to team up to create plugins :D We are finishing up one that will allow US citizens to find their Congressman contact information. When we are done with that, which should be shortly, we'll do the the font resizer plugin. So it should be done soon... I'll let you know when we need to beta test.

  20. SITEWEB44
    Member
    Posted 3 years ago #

    Hi

    I try to use the script :
    http://www.dynamicdrive.com/dynamicindex9/fluidtextresizer.htm

    but it's not working on my site, so i wait for the plugin

    Phil

  21. Trishah
    Member
    Posted 3 years ago #

    SITEWEB44,

    When you say it isn't working, can you explain exactly what you mean? Are you getting the buttons to show up but they are not changing the text size? Are the buttons not showing up?

    If the buttons do show up, are they in the header, on a sidebar? I did find that the buttons only change size below where they are located. On my test page http://trishah.com/wp-test_02/ I have the buttons below the text title/domain name (the text in the black bar at top) and that text does not change. If I put the buttons in the black bar then that text size does chance. So maybe try moving the buttons up on the page higher?

    Any information you can give us about the fail will help when we do the plugin.

  22. SITEWEB44
    Member
    Posted 3 years ago #

    Hi Trishahdee

    i don't say it's not working but i cound't make it to work...

    i put the 1st code in the header and the second in sidebar "tpo of page''

    Phil
    PS sorry for my english, but i'm french

  23. Trishah
    Member
    Posted 3 years ago #

    Not a problem Phil. I'm just trying to make sure I understand any problems so we can address them. If the buttons showed up but didn't work then it may be that it was not picking up the div where the content actually resides. We'll check to make sure that is not a problem with the plugin.

  24. SITEWEB44
    Member
    Posted 3 years ago #

    Hi all

    This morning i found a widget for text size
    http://wordpress.org/extend/plugins/zoom-widget/

    It's works, and very simple to install

    Phil

  25. bitweb
    Member
    Posted 3 years ago #

    personally I need a plugin wich have template shortcodes, because my developed theme doesn't have widget support ( and also for me is better to use shortcodes than widgets).
    So, trishahdee, keep going :P

    By the way, how is the project going ? Any steps forward ?

  26. Trishah
    Member
    Posted 3 years ago #

    My coder did look at the different js scripts and I'll show him the zoom-widget also. He just did the initial research so far. We are working to get our CongressLookup plugin finished, we just have to make sure we get all the bugs worked out, then he'll jump right on the resizer.

    In case you are interested, here is the current version of CongressLookup. Still not ready for general use but I'd say we're 90% there: http://constructivegrowth.net/wordpress-plugins/congresslookup/congresslookup-demo/

  27. bitweb
    Member
    Posted 3 years ago #

    hi trishahdee, are you still developing the plugin ?

  28. Trishah
    Member
    Posted 3 years ago #

    Sorry for the delay.

    We have the CongressLookup plugin finished (http://congresslookup.com) and all I need to do is put it up on WP.org but I have tried for 5 days to get my developers account activated and no one is replying to me!!!! I know my coder was working on the text resizer. I'll talk to him again and see where he is with it.

  29. bradparbs
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you all for the comments, I have a new version I'm rewriting, should be updated soon. :) It will fix all of these problems, and be easier to use!

  30. Trishah
    Member
    Posted 2 years ago #

    Hello bradparbs,

    This is great news! My coder has been trying to make time for this project but he still has no time frame for tackling it. So if you can do this then that would be great! Let me know if we/I can help at all.

    BTW... I was finally able to publish our first plugin :D In case anyone is interested, you can find it here: http://wordpress.org/extend/plugins/congresslookup/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wpTextResize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic