gh421
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images Weirdthanks alingham.
Forum: Themes and Templates
In reply to: [ColorMag] Page title on HomepageUmm, florlola, aditya.naskar is referring to front-page.php Is this the one you are editing? Not the page.php (template) file.
Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images Weirdhey spiritfly, it’s not my theme – I just use it. Not sure how to edit my old post to remove your site from the post.
Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images WeirdI’ll have time next week to look at the code for slider images and see what I can do as a more permanent fix.
Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images Weirdthank spiritfly.
Not sure bout using a bit.ly link in support (gathering you get paid for people to click that link) you should just have https://strumi.ca/ as your website on here.. bit much to get paid for people to help you with support.
I see what you mean. Yes, your images resize and lower your entire screen. Reason is you don’t have any padding below the featured posts slider widget (your area beside slider is not as tall as the slider). Simple fix, put something that slightly taller than the featured post slider in the front page: beside slider area or add another row of tg:highlighted posts to that area beside the slider. Even adding a text widget or something that size at the bottom of the tg:highlighted posts area will fix the issue.
You’ll see what I mean if you add something extra to that area beside the slider.
Yes the slider will still resize, but your whole page wont be moving up and down, just the slider will.
Forum: Themes and Templates
In reply to: [ColorMag] ColorMag Homepagewhat version of wp are you using?
are you setting it through the customiser, or “reading”?Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images WeirdI’m using external featured images (urls) that are mostly different sizes. I think the theme tries to style to a similar height/width ratio so slider might resize slightly to account for this. The images you’re referring to, doesnt have a extra white space in it? Ie, have you looked at the image in an editor like ms paint? Maybe post a link to your site so people can have a look at. Does it resize like my site https://www.androidcruze.com or is your featured images resizing like a massive amount?
Forum: Themes and Templates
In reply to: [ColorMag] Slider Moves All Elements and Displays Images Weirddid you try regen thumbs?
Forum: Themes and Templates
In reply to: [ColorMag] Header sidebar 728×90 advertisementare you talking about the tg ad widget?
Forum: Themes and Templates
In reply to: [ColorMag] ColorMag Homepagesounds like when you hit save changes, you aren’t waiting long enough before refreshing and seeing the changes – hence the previous “saved” incarnation of your site shows as it has been “saved” after you hit the refresh.
Forum: Themes and Templates
In reply to: [ColorMag] Page title on Homepagehow did you go with this florlola?
Forum: Themes and Templates
In reply to: [ColorMag] Use adsense in header sidebaryou can put any widget into the header sidebar. how are you adding the adsense code? I would think the tg ad widget would be styled to float, so if you are using just a plain txt widget in the header sidebar, it may need to be styled to correctly display and/or float. maybe put a link to your site so we can have a look.
Forum: Themes and Templates
In reply to: [ColorMag] Footer menujust add a footer menu (create new menu) under MENUS.
And in the footer sidebar (1 2 3 or 4) add your footer menu (custom menu widget). Does display 1 under the other though, but still looks decent (limited I guess to the defined widget area).Forum: Themes and Templates
In reply to: [ColorMag] How to remove footer creditsIF you do remove the links, you SHOULD place an image link back to the theme author somewhere in your theme, as it’s a free theme, and it’s one of the better ones (even though the authors dont know how to place a header image under the header logo – it wraps). So do the right thing and give them a free back link image on your site.
Works in the 1.03
to remove footer links:
change the following in functions.php in the inc directory/**************************************************************************************/ add_action( 'colormag_footer_copyright', 'colormag_footer_copyright', 10 ); /** * function to show the footer info, copyright information */ if ( ! function_exists( 'colormag_footer_copyright' ) ) : function colormag_footer_copyright() { $site_link = '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>'; $wp_link = '<a href="https://www.remarpro.com" target="_blank" title="' . esc_attr__( 'WordPress', 'colormag' ) . '"><span>' . __( 'WordPress', 'colormag' ) . '</span></a>'; $tg_link = '<a href="https://themegrill.com/themes/colormag" target="_blank" title="'.esc_attr__( 'ThemeGrill', 'colormag' ).'" rel="designer"><span>'.__( 'ThemeGrill', 'colormag') .'</span></a>'; $default_footer_value = sprintf( __( 'Copyright © %1$s %2$s. All rights reserved.', 'colormag' ), date( 'Y' ), $site_link ).'<br>'.sprintf( __( 'Theme: %1$s by %2$s.', 'colormag' ), 'ColorMag', $tg_link ).' '.sprintf( __( 'Powered by %s.', 'colormag' ), $wp_link ); $colormag_footer_copyright = '<div class="copyright">'.$default_footer_value.'</div>'; echo $colormag_footer_copyright; } endif;
TO the following code:
/**************************************************************************************/ add_action( 'colormag_footer_copyright', 'colormag_footer_copyright', 10 ); /** * function to show the footer info, copyright information */ if ( ! function_exists( 'colormag_footer_copyright' ) ) : function colormag_footer_copyright() { $site_link = '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" ><span>' . get_bloginfo( 'name', 'display' ) . '</span></a>'; $wp_link = ''; $tg_link = ''; $default_footer_value = sprintf( __( 'Copyright © %1$s %2$s. All rights reserved.', 'colormag' ), date( 'Y' ), $site_link ); $colormag_footer_copyright = '<div class="copyright">'.$default_footer_value.'</div>'; echo $colormag_footer_copyright; } endif;
Forum: Fixing WordPress
In reply to: help: How to programmatically style a links in poststhanks pwd.
yes thought bout the db (mentioned that in my first post). I would just do it as a sql update query rather than search and replace, but I was hoping someone may have already written a function to do something similar that I could just use in the functions.php without messing directly with the db ??