Daniella
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Post Text and ImageHi esmi,
Sorry about that. The link is http://tomasflintblog.appsalon.com/As you can see, the post text is too long…I don’t want it to span the whole width, hence the columns. However, I want the post images to stay at their full width of 850px. I don’t want to add code to each post so I’m not sure how to do it otherwise.
Thank you.
Forum: Plugins
In reply to: Google Analytics missing bracketI fixed it. Thanks.
Forum: Plugins
In reply to: Google Analytics missing bracketThanks, but where do I put it. The plugin code is as follows:
/* * Insert the tracking code into the page */ function spool_analytics() { global $wp_query; $options = get_option('GoogleAnalyticsPP'); if ( $options["uastring"] != "" && (!current_user_can('edit_users') || $options["admintracking"]) && !is_preview() ) { echo "\n".'<!-- Google Analytics for WordPress | http://yoast.com/wordpress/google-analytics/ -->'."\n"; echo '<script type="text/javascript">'."\n"; echo "\t".'var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");'."\n"; echo "\t".'document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));'."\n"; echo '</script>'."\n"; echo '<script type="text/javascript">'."\n"; echo "\t".'try {'."\n"; echo "\t\t".'var pageTracker = _gat._getTracker("'.$options["uastring"].'");'."\n"; /** * If this is a 404 page, track the 404 and prevent all other stuff as it's not needed. */ if ( is_404() ) { echo "\t\t".'pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);'."\n"; echo "\t".'} catch(err) {}'."\n"; echo '</script>'."\n"; } else if ($wp_query->is_search && $wp_query->found_posts == 0) { echo "\t\t".'pageTracker._trackPageview("'.get_bloginfo('url').'/?s=no-results: '.rawurlencode($wp_query->query_vars['s']).'&cat=no-results");'."\n"; echo "\t".'} catch(err) {}'."\n"; echo '</script>'."\n"; } else { if ( $options["extrase"] ) { /** * We need to load another script, so we need to close the try / catch, load the script, and open it again. */ echo "\t".'} catch(err) {}'."\n"; echo '</script>'."\n"; echo '<script src="'.gapp_plugin_path().'custom_se.js" type="text/javascript"></script>'."\n"; echo '<script type="text/javascript">'."\n"; echo "\t".'try {'."\n"; } if ( $options['userv2'] ) echo "\t\t".'pageTracker._setLocalRemoteServerMode();'."\n"; if ( $options['allowanchor'] ) echo "\t\t".'pageTracker._setAllowAnchor(true);'."\n"; if ( $options['trackloggedin'] && !isset($_COOKIE['__utmv']) && is_user_logged_in() ) echo "\t\tpageTracker._setVar('logged-in');\n"; else echo "\t\t// Cookied already: ".$_COOKIE['__utmv']."\n"; if ( isset($options['domain']) && $options['domain'] != "" ) { if (substr($options['domain'],0,1) != ".") $options['domain'] = ".".$options['domain']; echo "\t\t".'pageTracker._setDomainName("'.$options['domain'].'");'."\n"; } if ( strpos($_SERVER['HTTP_REFERER'],"images.google") && strpos($_SERVER['HTTP_REFERER'],"&prev") && $options["imagese"] ) { echo "\t\t".'pageTracker._addOrganic("images.google","prev");'."\n"; // echo "\t\t".'regex = new RegExp("images.google.([^\/]+).*&prev=([^&]+)");'."\n"; // echo "\t\t".'var match = regex.exec(pageTracker.qa);'."\n"; // echo "\t\t".'pageTracker.qa = "http://images.google." + match[1] + unescape(match[2]);'."\n"; } echo "\t\t".'pageTracker._trackPageview();'."\n"; echo "\t".'} catch(err) {}'."\n"; echo '</script>'."\n"; } echo '<!-- End of Google Analytics code -->'."\n"; } else if ( $options["uastring"] != "" && current_user_can('edit_users') && !$options["admintracking"] ) { echo "<!-- Google Analytics tracking code not shown because admin tracking is disabled -->"; } else if ( $options["uastring"] == "" && current_user_can('edit_users') ) { echo "<!-- Google Analytics tracking code not shown because yo haven't entered your UA string yet. -->"; } }Thank you.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Change CSS on Sidebar WidgetForget it.
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Change CSS on Sidebar WidgetTo be more specific, I really don’t want the short month codes. Where do I go to make the month display in the long form?
Thanks.Forum: Themes and Templates
In reply to: Display related category posts depending on single post pageWorked great.
Thank you very much.Forum: Themes and Templates
In reply to: Display page title and ‘Posts’ in sidebar headingYou are the best!
Thank you.