• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Button To Display A Random Text String?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › General Genesis Framework Discussions › Button To Display A Random Text String?

This topic is: resolved

Tagged: button, writing prompt

  • This topic has 1 reply, 1 voice, and was last updated 2 weeks, 2 days ago by rcarlone.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 10, 2023 at 10:07 am #506930
    rcarlone
    Participant

    I'm looking to offer a writing prompt feature to one of my websites. I've sifted through several Quote widgets but they basically rotate through text strings (e.g. my writing prompt) on a time-based frequency.

    This is pretty good, but I'd prefer to offer the user the ability to press a button I. order to immediately get a new prompt.

    Anyone have a suggestion on how to accomplish this?

    March 10, 2023 at 10:23 am #506931
    rcarlone
    Participant

    Within in minutes of my post I solved the problem (isn't that how it often happens?!) - using the "Quotes and Tips" plugin, I simply moved the shortcake to its own page (as opposed to a widget in the sidebar) and used the Button block to effectively reload the page. The plugin allows for a new quote to be presented upon page load (I was previously using the time-based option).

    At any rate, I hope someone stumbles upon this is the future and finds it helpful as I had no luck in searching for an answer to this.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble