gomauro

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • gomauro
    Participant

    András
    I have the child theme working properly without the added code. I had to re-do backgrounds and header stuff but it all looks right now. Several times i tried adding the code and got a white screen. Reverted back and it was correct so today i tried it slightly different and the site looked okay until i went to the submission page.

    On the submission page i ended up with two KFOI logos and no background. NOTHING ELSE CHANGED.

    Here is the childthem functions.php code AS IT IS RIGHT NOW (you can see the results):

    <?php
    //
    // Recommended way to include parent theme styles.
    // (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
    //
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array(‘parent-style’)
    );
    }
    //
    // Your code goes below
    //

    add_filter( ‘tribe_events_before_html’, ‘agu_custom_before_html’ );

    function agu_custom_before_html( $content ) {

    // If it’s Community Events Submission form, then inject this content.
    // Otherwise use what’s under Events > Settings > Display tab
    if ( tribe_is_community_edit_event_page () ) {
    $content .= “

    Hi there,

    Please provide as much details as you can!

    “;
    }
    return $content;
    }

    gomauro
    Participant

    András
    Hi and THANK YOU. I created the child theme using Child Theme Configurator version 2.3.0.4.

    THat made a folder called “editorialmag-pro-child”

    in there was the functions.php and I made a safety copy and put it aside.

    Here is the unedited functions.php in that folder:

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘font-awesome’,’lightslider’ ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    // END ENQUEUE PARENT ACTION

    THEN I PUT IN YOUR VERBAGE to test …HERE

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘font-awesome’,’lightslider’ ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    // END ENQUEUE PARENT ACTION

    [code language=”php”]
    add_filter( ‘tribe_events_before_html’, ‘agu_custom_before_html’ );

    function agu_custom_before_html( $content ) {

    // If it’s Community Events Submission form, then inject this content.
    // Otherwise use what’s under Events &gt; Settings &gt; Display tab
    if ( tribe_is_community_edit_event_page () ) {
    $content .= "<p><strong>Hi there,</strong></p><p>Please provide as much details as you can!</p>";
    }
    return $content;
    }
    [/code]

    AND I SEE NO CHANGES TO THE SUBMISSION FORM

    I also put the code here and tried it:

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘font-awesome’,’lightslider’ ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    [code language=”php”]
    add_filter( ‘tribe_events_before_html’, ‘agu_custom_before_html’ );

    function agu_custom_before_html( $content ) {

    // If it’s Community Events Submission form, then inject this content.
    // Otherwise use what’s under Events &gt; Settings &gt; Display tab
    if ( tribe_is_community_edit_event_page () ) {
    $content .= "<p><strong>Hi there,</strong></p><p>Please provide as much details as you can!</p>";
    }
    return $content;
    }
    [/code]

    // END ENQUEUE PARENT ACTION

    STILL NO CHANGES.

    ANy idea what is wrong? Perhaps the child theme is not engaging?

    SO grateful for your patience and help!
    mauro

    gomauro
    Participant

    Thank You András,
    Im almost ready to try this edit. One more precaution.
    I found TWO funtion.php files.

    ONE INSIDE THE THEME FOLDER

    ONE INSIDE THE “WP INCLUDES” folder

    which should i use?

    I will create the child theme as well. You may not see my response for a few days one i get the function.php folder correct….im away for a couple days then ill be on this.
    THANKS AGAIN
    mauro

    gomauro
    Participant

    András

    Thank You for the options. I have backed up the functions.php file and made a copy for editing. You said inject the above content BEFORE the community submission form. Does that mean I will find an area in the functions.php that is SPECIFICALLY for the community submission form? And that BEFORE that verbage i should place the contect you wrote?

    In other words i have to be really careful where i put that correct? Cant just paste it in anywhere…

    I used a FIND search for the word “community” and only one time is the word in the file..attached is a screenshot of that.

    Sorry….I am not used to code..
    mauro

    gomauro
    Participant

    Hi Andras,
    THank You…i am relieved there are solutions. However I am a code moron. Do I put:1
    do_action( ‘tribe_events_community_form_before_template’, $tribe_event_id );

    in the ADVANCED TEMPLATE SETTINGS before any verbiage?

    Also, are we able to pay someone to there to set this up properly? And a guesstimate of how much?

    Thank You
    mauro

    in reply to: Is there a way to view the calendar by category? #1440898
    gomauro
    Participant

    attached is your site info previously discussed

    in reply to: Is there a way to view the calendar by category? #1440896
    gomauro
    Participant

    Dear Sales Department at Events Calendar Pro

    We recently purchased:
    Events Calendar Pro, Lic # 19fdbc9e855008c0712c588b8eae3eea738534e3
    and
    Community Events Lic # c9d6a4e1595ba68e2e3220e6b5a4e31bcb83e1fb

    Both of those purchases were $149.00 (totaling $298.00)
    As your site titled your Events Calendar Pro software “business,” we obviously thought we had to purchase that version. Your website did not make it clear that we did not have to purchase the Pro version. Additionally, we were surprised and frustrated to now find out that we need to purchase an additional plug-in to be able to search under categories. That was not mentioned on your site.

    BOTH TIMES WE ONLY NEEDED TO PURCHASE AS “INDIVIDUALS” as we are only using on ONE SITE (kfoiradio.org ). Attached is your statement on your website that verifies we overpaid by 120.00

    • The information / description of the difference between business vs individual licenses seemed clear however, turns out it was not. Only on another hard to find layer did this become apparent.

    • We are frustrated with needing one plug in after the other. We started with events calendar, but needed the front end load, purchased the community events but wanted the week view. Then purchased the PRO version but that didn’t have a SEARCH by category pull down.

    • Information that really lays out the workings and NON- workings of each plugin SHOULD BE much more clear and visible when purchasing these tools!

    We would like you to GIVE US the FILTER BAR plugin instead of a refund and maybe one EXTRA year of support on everything?

    Does that sound like a fair resolution?

    Otherwise, we’d like a refund on the Pro version and we’ll make Community Events work somehow.

    Mauro Oliviera
    representing KFOIRadio.org
    530 356 7343

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