rrosen326

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: How to set events page heading? #770878
    rrosen326
    Participant

    I copied the entire section with the conditionals to my functions.php and it worked.

    But is there a way to set it as a hook, so that if the theme ever changes any of those conditionals, mine just adds on after? (ie: right now I replace their code. I’d like to supplement it.)

    in reply to: Mini calendar widget off to right on firefox #766790
    rrosen326
    Participant

    Very weird – I was monkeying around with it in firebug, and if I edit the html and put anything before the <table> element it pulls back and works fine. Eg:

    <div class=”tribe-mini-calendar-grid-wrapper”>
    PUT ANYTHING HERE – EVEN &NBSP;
    <table data-nonce=”8a2bde4873″ data-tax-query=”” data-eventdate=”2014-09-01″ data-count=”5″ class=”tribe-mini-calendar”>

    *admin removed html past here

    in reply to: Conflict with Stratfort Theme #701163
    rrosen326
    Participant

    Worked perfectly – thanks!

    in reply to: Conflict with Stratfort Theme #692270
    rrosen326
    Participant

    Actually, I would love a little help – my wordpress skills are weak.

    The theme does this:
    // Admin scripts enqueue

    function cs_admin_scripts_enqueue() {

    $template_path = get_template_directory_uri() . ‘/scripts/admin/media_upload.js’;

    wp_enqueue_script(‘my-upload’, $template_path, array(‘jquery’, ‘media-upload’, ‘thickbox’, ‘jquery-ui-droppable’, ‘jquery-ui-datepicker’, ‘jquery-ui-slider’, ‘wp-color-picker’));

    wp_enqueue_script(‘custom_wp_admin_script’, get_template_directory_uri() . ‘/scripts/admin/cs_functions.js’);

    wp_enqueue_style(‘custom_wp_admin_style’, get_template_directory_uri() . ‘/css/admin/admin-style.css’, array(‘thickbox’));

    wp_enqueue_style(‘wp-color-picker’);

    }

    In the themes ‘css/admin/admin-styles.css’ is: .form {display: none};
    So, I need to override that.
    I created a child theme, but just setting .form {display: block} in the child themes style.css or /css/admin/admin-styles.css doesn’t work. So, I guess I need to hook into the admin page and wait til after the theme enqueues the style, and THEN override the .form{} style. But I don’t know how to do that.

    Any tips?

    in reply to: Conflict with Stratfort Theme #691948
    rrosen326
    Participant

    Never mind – figured it out. This is a dup too:

    How to debug (and fix) a theme conflict

    in reply to: How to debug (and fix) a theme conflict #691932
    rrosen326
    Participant

    Ok – forget that last point – that was an irrelevant problem (fixed).

    Here’s what’s weird – looking at the elements on the page (using chrome debugger), the proper elements ARE there (eg: <h3>General Settings</h3>), they are display:block, but aren’t showing for some reason. Any idea why?

    in reply to: How to debug (and fix) a theme conflict #691894
    rrosen326
    Participant

    One additional point: I turned on WordPress logging and there are no errors in the wp-content/debug.log file or the apache php error file from this page)

    Though I AM getting the following php errors on other successful pages:
    [22-Aug-2014 17:31:09 UTC] PHP Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/wordpress/wp-includes/class-http.php on line 895
    [22-Aug-2014 17:31:09 UTC] PHP Warning: stream_socket_client(): unable to connect to tcp://laurelhurst.dev:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /var/www/wordpress/wp-includes/class-http.php on line 895

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