Forum Replies Created
-
Author
-
Splendor
ParticipantHi @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 CODEadd_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?
Splendor
ParticipantYes, 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; ?>
Splendor
ParticipantCheck here!
https://archived.seventhqueen.com/forums/topic/change-buddypress-navigation-menu-iconsPut this code on wp-config.php and rename gallery to portfolio
COPY CODE* Rename Rtmedia */ define ( 'RTMEDIA_MEDIA_LABEL', 'Gallery' );
Hope this helps 🙂
Splendor
ParticipantCOPY 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??
-
AuthorPosts