• Resolved gnfb

    (@gnfb)


    So i have this shortcode
    quite a big one. The only part of it that I want to change for each time I use is
    id=”yua_mikami” the persons name Is there a way using your app to do that? I think ther is but my old brain cant figure it out . help appreciated

    [tiktok-feed type=”user” id=”yua_mikami” show_info=”yes” layout=”default” show_profile_photo=”no” show_name=”no” show_username=”yes” show_follow_button=”no” show_tagline=”no” show_stats=”yes” show_following_count=”yes” show_follower_count=”yes” show_likes_count=”yes” show_video_count=”yes” show_videos=”yes” show_in_popup=”yes” allow_download=”yes” allow_nowatermark_download=”yes” allow_music_download=”yes” show_load_more=”yes” use_infinite_scroll=”no” per_page=”1″ video_per_row=”1″ loading_color=”#a83f39″ username_size=”24px” username_color=”#000000″ stats_size=”14px” stats_color=”#000000″ stats_label_color=”rgba(22,24,35,.75)” show_share_buttons=”yes” share_facebook=”yes” share_twitter=”yes” share_tumblr=”no” share_pinterest=”yes” share_linkedin=”no” share_reddit=”no” share_xing=”no” share_whatsapp=”yes” share_vk=”no” share_telegram=”no” share_email=”no” /]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gnfb

    (@gnfb)

    Just further explain . I may have say 50 of the shortcode on one wp page and the only thing diffrent in each shortcode would be the id=”yua_mikami”

    Plugin Author vaakash

    (@vaakash)

    Hi @gnfb,

    You can use a feature of Shortcoder called “custom parameters”. More details in below link.
    https://www.aakashweb.com/docs/shortcoder/custom-parameters/

    In your case, you can replace yua_mikami with %%id%% and then use [sc name="myshortcode" id="yua_mikami"]

    Thanks,
    Aakash

    Thread Starter gnfb

    (@gnfb)

    Thanks for the rapid response!!
    So lets say instead of yua_mikami the name is fredbloggs Am I right in saying that the shortcode would be [sc name=”myshortcode” id=”fredbloggs”]?
    So the if i have say 50 shortcodes all diffrent names, the main shortcode can be played with but it will still adress the name that i choose??
    If thats right Thats fantastic

    Thread Starter gnfb

    (@gnfb)

    quik follow up
    you say

    In your case, you can replace yua_mikami with %%id%% and then use [sc name=”myshortcode” id=”yua_mikami”]

    In the main shortcode do I replace { id=”yua_mikami” } with %%id%% ?
    or do i replace just yua_mikami with %%id%% ?

    Thread Starter gnfb

    (@gnfb)

    All Good
    Ive done it !!! this 65 year old brain still works!!

    Thank you for your help

    Nest step will be trying to create a directory of names that can connect!

    Plugin Author vaakash

    (@vaakash)

    Hi @gnfb,

    Thats awesome.. yes whatever text that needs to be replaced it has to be replaced with %%some_name%% and then use some_name=”my text” while using the shortcode.

    Please do rate the plugin if you like it !
    https://www.ads-software.com/support/plugin/shortcoder/reviews/?rate=5#new-post

    Thanks,
    Aakash

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘a little help’ is closed to new replies.