• Hello,
    how to add a shortcode to my theme home page ?
    here is the site
    https://bfollow.com/

    i want to add below shortcode to the home page but i have no idea :

    <?php echo do_shortcode(‘[userpro template=memberlist memberlist_v2=0 memberlist_pic_size=50 memberlist_pic_topspace=0 memberlist_pic_sidespace=0 memberlist_pic_rounded=0 memberlist_paginate=0 memberlist_show_name=0 memberlist_popup_view=1 memberlist_withavatar=1 search=0 per_page=28 memberlist_width=100%]’); ?>

    your kindly help please

    P.s i set a page as wordpress home

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • First is a tip, use the tag code whenever you need to post code.

    The code you posted should be included in the PHP file of your theme, the location you want to view the information shortcode. If you want to insert the WordPress dashboard go to the page you want and paste the code below in the content field.

    [userpro template=memberlist memberlist_v2=0 memberlist_pic_size=50 memberlist_pic_topspace=0 memberlist_pic_sidespace=0 memberlist_pic_rounded=0 memberlist_paginate=0 memberlist_show_name=0 memberlist_popup_view=1 memberlist_withavatar=1 search=0 per_page=28 memberlist_width=100%]
    Thread Starter osama.alani

    (@osamaalani)

    hello ,
    thank you i did , i posted that shortcode inside a page , but nothing work ! it just show the code when i publish

    Where did you get this code shortcode? Maybe he’s not working, how to call seems correct.

    Thread Starter osama.alani

    (@osamaalani)

    i got the code from plugin creator his website

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add shortcode’ is closed to new replies.