Wordpress Discussion

Out of context: Reply #90

  • Started
  • Last post
  • 164 Responses
  • uan0

    wp ui question. Been asked to make this kind of posts, image container with text place over it.

    I got it working and centered the text vertically and horizontally.

    now they want to vertically position the text by themselfs...

    - should i make option boxes in edit posts where they can chose between start at top, middle, bottom, maybe even more options?

    - should I make a input where they can insert a pixel value (distance to top)?

    - should i try to code something in customizer (never done it, but eventually I would manage to code it)?

    - do you know any other option that works, I might not know of, for this kind of problem?

    tnx :)

    • is what you're trying to do like this meme builder plugin?
      https://codecanyon.n…
      spot13
    • yep. were do you implement that kind of interface in a wp site?uan
    • or where in wp can I design/code that kind of interactive positioning interface?

      can I write a plugin that shows up in the edit post space?
      uan
    • probably there is a plugin yet coded somewhere..i should google wp meme generator ;-)uan
    • don't reinvent the wheel ;)spot13
    • Just a thought but rather than use Customizer from your plugin, you could try and use the new Gutenberg editor that's slated for v5spot13
    • it creates slide out panels for settings like the Customizer but perhaps with less complexity around object mappingspot13

View thread