Support » Plugin: Contact Form by BestWebSoft » [Plugin: Contact Form] Apply my Blog Theme

  • Resolved Bucki



    This contact Form is sick (good) and want to embed it within my theme.
    The code below shows the blog :

    <div class="homepage-widget">
    <div class="block full archive clearfix">
    <?php _e('Contact Us', 'Title'); ?>
    <div class="block-content clearfix">
    <div class="post-content">
    <p class="post-meta">TITLE</p>
    <p class="post-excerpt"> the form should appear in here ... </p>

    I tried to use [contact_form] but that didnt work.
    I am sure, PHP coding is required but 🙁 no ideaaaa

    Besides, I created a PAGE called CONTACTUS
    and simply typed [contact_form] and that worksssss but
    in WP u also got an option to apply a THEME to the particular page.

    So, that theme is called ContactUs.php with the code
    (as seen above)

    Hope someone might help me out here 😀


Viewing 2 replies - 1 through 2 (of 2 total)
  • plssssssssssssssss

    Plugin Author bestwebsoft


    Hello Bucki,

    It is necessary to call option for the template instead of shortcode.
    Please write strings below into template:
    if ( function_exists ( ‘cntctfrm_display_form’ ) ) echo cntctfrm_display_form();
    If this insertion happening inside html, then write strings below:
    <?php if ( function_exists ( ‘cntctfrm_display_form’ ) ) echo
    cntctfrm_display_form(); ?>.

    In this cause, please change these:
    <p class=”post-excerpt”> the form should appear in here … </p>
    <p class=”post-excerpt”><?php if ( function_exists (
    ‘cntctfrm_display_form’ ) ) echo cntctfrm_display_form(); ?></p>

    Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form] Apply my Blog Theme’ is closed to new replies.