Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 19 posts - 1 through 19 (of 19 total)

How to deactivate welcome page?

Home Forums Free Theme Support Theron Lite How to deactivate welcome page?

  • #27302

    Greg

    Hi
    How do I deactivate the welcome text on the front page to add text the normal way in wordpress (edit pages)?
    I want to add code on the front page and it does not work in the welcome text box.

    please help?

    #27325

    Greg

    Hi Towfiq

    Please can you assist, Im not sure if my first post made sense.
    what i actually want to do is to add a short code on my front page, but when I add it to the front page welcome box it does not work, If i paste the shortcode in a normal page, it works.

    thanks

    #27326

    Towfiq I.

    administrator

    which version of the theme are you using? whats your site address?

    #27328

    Greg

    Im using version 2.0 and the address is http://lobayphotography.co.za/

    Thanks

    #27329

    Towfiq I.

    administrator

    paste the shortcode here.

    #27330

    Greg

    [cardoza_facebook_like_box]

    #27332

    Towfiq I.

    administrator

    open up index.php and add this:

    <?php echo do_shortcode('[cardoza_facebook_like_box]'); ?>

    after this:

    <?php echo of_get_option('wlcm_textarea'); ?>

    #27337

    Greg

    Hi Towfiq
    Its not working, do I add the code anywhere in the index.php ?

    #27338

    Greg

    Oh sorry I misread your post let me try again

    #27343

    Greg

    Not working, I added it like you said, pls see below:

    <!–Welcome message–>
    <?php if ( is_home() ) { ?>
    <?php if ( of_get_option(‘wlcm_textarea’) ) { ?><div id=”thn_welcom”><p><?php echo of_get_option(‘wlcm_textarea’); ?>< ?php echo do_shortcode(‘[cardoza_facebook_like_box]’); ?></p></div><?php } ?>
    <?php } ?>
    <!–Welcome message END–>

    #27346

    Towfiq I.

    administrator

    does the shortcode work in normal posts?

    #27348

    Greg

    Yes it does, Tried it on a normal page and it works.

    Even if i can add the slider and the blocks on a normal page and paste the short code on the page and that will be fine.
    but i need to add this shortcode on the front page pls.

    #27349

    Towfiq I.

    administrator

    sorry. there was a typo in the code that I posted above, try this:

    <?php echo do_shortcode('[cardoza_facebook_like_box]'); ?>

    #27351

    Greg

    still no luck :
    <!–Welcome message–>
    <?php if ( is_home() ) { ?>
    <?php if ( of_get_option(‘wlcm_textarea’) ) { ?><div id=”thn_welcom”><p><?php echo of_get_option(‘wlcm_textarea’); ?><?php echo do_shortcode(‘[cardoza_facebook_like_box]’); ?></p></div><?php } ?>
    <?php } ?>
    <!–Welcome message END–>

    #27352

    Towfiq I.

    administrator

    send me the download link of this shortcode.

    #27353

    Greg

    im not sure where the download link is but its a shortcode for the Facebook like widget plugin for wordpress
    this is the site where i got the short code from http://www.vinojcardoza.com/cardoza-facebook-like-box/

    #27354

    Greg

    here is the shortcode on a normal page. it works fine http://lobayphotography.co.za/?page_id=276

    #27433

    Towfiq I.

    administrator

    you dont need to use any shortcode/widget plugin to display facebook likebox. Go to this page
    :

    https://developers.facebook.com/docs/reference/plugins/like-box/

    and create your own likebox and after create it. click the “Get code” button and then click the “iframe” and then copy the code.

    Now open up index.php and paste the code under this line:

    <?php echo of_get_option(‘wlcm_textarea’); ?>

    #477702

    fitflop norge

    Towfiq I. » Topic: How to deactivate welcome page?
    fitflop norge http://www.inntre.no/inkluder/fitflop-noger.asp

You must be logged in to reply to this topic.