Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • in reply to: Getting rid of certain things in theme #77035
     Splendor
    Participant

    Hi @abe

    I wonder what does init.js, app.min.js and modernizer? As I’m combining files I want to know what they are doing in theme. It’s easier to find and understand conflicts.

    Also I found this code which seams very good:

    COPY CODE
    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    if ( !is_page('Events') ) { 
    wp_deregister_script( 'wpng-calendar' ); 
    wp_deregister_script( 'date-js' ); 
    wp_deregister_script( 'thickbox-js' ); 
    wp_deregister_script( 'jquery-js' ); 
    wp_deregister_script( 'wiky-js' ); 
    }
    }

    Which you deregister script in certain pages expect in those page you want those script to load. Is the that possible to do this on post-type? For example the blog or buddypress?

    in reply to: Moving the logo to the top menu #73293
     Splendor
    Participant

    Yes, I found it. Do you mean line 117 to 132, I guess that is logo code. The other is for mobile as I can see.` <strong class=”logo”>
    <a href=”<?php echo home_url();?>”>

    <?php if ($logo_path != ”) { ?>

    <img id=”logo_img” title=”<?php bloginfo(‘name’); ?>” src=”<?php echo $logo_path; ?>” alt=”<?php bloginfo(‘name’); ?>”>

    <?php } else { ?>

    <?php bloginfo(‘name’); ?>

    <?php } ?>

    </a>
    </strong>
    </div>`

    Should this part be included below as wall, it feels that it shouldn’t?

    COPY CODE
    <?php if ($header_style == 'left_logo') : ?>
                        <div class="header-banner">
                            <?php echo do_shortcode( sq_option( 'header_banner', '' ) );?>
                        </div>
                        <?php endif; ?>
    in reply to: Media tab profile page #20204
     Splendor
    Participant

    Check here!
    https://archived.seventhqueen.com/forums/topic/change-buddypress-navigation-menu-icons

    Put this code on wp-config.php and rename gallery to portfolio

    COPY CODE
    * Rename Rtmedia
    */
    define ( 'RTMEDIA_MEDIA_LABEL', 'Gallery' );

    Hope this helps 🙂

    in reply to: What plugin are you using to show ticket status? #19765
     Splendor
    Participant
    COPY CODE
    		<div id ="bbps_support_forum_move">
    			<form id="bbps-topic-move" name="bbps_support_topic_move" action="" method="post">
    				<label for="bbp_forum_id">Move topic to: </label>< ?php bbp_dropdown(); ?>
    				<input type="submit" value="Move" name="bbps_topic_move_submit" class="btn btn-default" />
    				<input type="hidden" value="bbps_move_topic" name="bbps_action"/>
    				<input type="hidden" value="<?php echo $topic_id ?/>" name="bbps_topic_id" />
    				<input type="hidden" value="<?php echo $forum_id ?/>" name="bbp_old_forum_id" />
    			</form>
    		</div>
    
    		< ?php
    			
    		}
    	}
    }
    

    Something is of here??

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

Log in with your credentials

Forgot your details?