Shortcodes in the sidebar

This topic contains 16 replies, has 4 voices, and was last updated by  Alex Rollin 6 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #469830

    Fernando
    Free User
    Post count: 120

    @alex

    Thank for the reply.

    My question is not related to post_meta.
    The “id” in the shortcode can be anything.

    i.e.

    [myinfo tax_id=1], [myinfo anynumber=8] etc.

    All what I want to achieve is to allow the front end user to type only a number (a figure) instead of writing the whole short code.

    For [myinfo tax_id=1], I want the user to enter only “1” (Not “[myinfo tax_id=1]”).
    For [myinfo anynumber=8], I want the user to enter only “8” (Not “[myinfo anynumber=8]”).

    I know this can be achieved by a filter.
    Unfortunately, I cannot write one for the gd shortcode.

    Thanks

    #469854

    Alex Rollin
    Moderator
    Post count: 27815
Viewing 2 posts - 16 through 17 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount