TrishaM

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Site Title interfering with Image Logo #16050
    TrishaM
    Customer

      Hi Wes,

      I came back here to update my post and just saw your reply…….here’s what I’ve learned and what I’ve done.

      As you have noted, the Genesis option to use an image logo instead of text disappears when the Child Theme (in this case Epik) has that code:

      //* Add support for custom header
      add_theme_support( 'custom-header', array(
      	'width'           => 360,
      	'height'          => 164,
      	'header-selector' => '.site-title a',
      	'header-text'     => false,
      ) );
      

      Removing (or commenting out) that code makes the Genesis option available again.

      If I *don’t* use the Genesis option, then the logo is not clickable (not linked to our home page)….I discovered that today when my boss said “hey why is our logo not linked to our home page”…..If one does not make the logo linked (as most site visitors *expect* these days because that is the behavior on *most* websites) then we have to add a Home Page item to our menu – not what we want to do…..

      SO I had to comment out your code, choose the Genesis image logo option, and modify the CSS that deals with the site-title to make the color ‘transparent’…..if I removed the CSS or made it set to display:none, then there is no linking either because technically that section (and it’s a tag) do not show on the page.

      SO when you are working on your new Theme you might put more thought into this issue…..most web developers will definitely want their logo linked, generally to their home page. And if a logo image is used, no one will want the text to show over top of it…..

      I’m learning as I’m going and I’m not a coder, so I wish I could offer suggestions but I am certain you know way more than I do anyway…….just wanted to make you aware of what I’ve learned in case you find it helpful.

      Once again, my problem IS resolved, it’s just rather klugey to have to monkey around with commenting out functions and changing styles…..I’m fine with it, but a lot of WP users may not be, so presenting options in the Customize panel will be preferable for most users.

      in reply to: Site Title interfering with Image Logo #16029
      TrishaM
      Customer

        Hi @Wes – thanks for posting…..your code snippet is what I’ve always had in the functions except for the last two lines, but I did add those to my functions.php file and it didn’t help – the site title still appeared over top of my logo.

        I did resolve this by just modifying the styles for .site-title to display:none;

        in reply to: Site Title interfering with Image Logo #16027
        TrishaM
        Customer

          Thanks for the tip @kronos, I’ll take a look at that….and I’ll post back if that fixes the problem or not. 馃檪

          UPDATE:

          Okay I downloaded the latest version of Epik and went through the functions line by line, and could not find anything different between the new version and the old one I’m using that is related to the site title or logo, so I installed the new version on a sandbox site, and the problem persists……BUT that was hard to spot because the default Epik Theme places my logo in the center (not where we want it, we have it on the left upper corner), and the Site Title cannot be read because it’s the same color as the background of the header…..when I moved my logo to the left (in the stylesheet) then the Site Title could be seen over top of it again.

          SO that got me thinking, and I realized (DOH!) that this was a CSS problem all along……so in my version I just found the styles for .site-title and replaced them with display:none; and voila! That fixed my problem. I can have my logo and Site Title (for SEO purposes) and not have the dang site title displayed over top of my logo.

          in reply to: Site Title interfering with Image Logo #16024
          TrishaM
          Customer

            @scooby, thank you, but there is not a place to enter the site title in the Genesis Setttings, either the SEO Settings or the Theme Settings, and yes I do have the most current version of Genesis. 馃檪

            You may be thinking of the Genesis SEO Setting for the *Home Page* Title, which is not carried through to other pages…..

            The only Genesis Settings related to (appending the) Site Title (to page titles) (in SEO Settings) are a checkbox (to add it), another checkbox to indicate right or left side, and text field to enter the separator (in which you put in what you want to separate your Page Title from your Site Title, such as a hyphen, colon, pipe, etc.) I have mine set to a pipe, so it should look like “Page Title | Site Title”.

            The only place to actually *enter* a Site Title is under the WP General Settings, or the Epik Theme Customization, which is just basically an alias for the WP General Settings……whatever gets entered or erased there modifies the WP General Settings.

            STILL need help……this just should not be so difficult…..Epik is a Genesis Theme, it should respect the Genesis Setting to use an image logo in place of the Site Title in the Header area, but it seems to disregard that entirely.

            in reply to: Site Title interfering with Image Logo #16020
            TrishaM
            Customer

              @Andykev, thank you for replying but the information at that link does not apply to what I鈥檓 trying to do.

              I don’t want to remove Post/Page titles, I do want them displayed in their proper place at the top of the browser bar.

              What Genesis has is a setting that lets you append the Site Title to the beginning or end of the Page title, for SEO/branding purposes, this is a good thing. Most SEO plugins have the same setting.

              When not using the Epik Theme, if one elects to use an image logo in place of the Site Title, it works great. You can still have your Site Title entered so it can be used to append to your Page Title at the top of the browser bar.

              However, when using the Epik Theme, one cannot have both – if you elect to use an Image Logo, the Site Title is also displayed (over top of the logo) – that looks awful…..you can get rid of it only be erasing the Site Title in the Settings. Fine. Logo looks good, but now Genesis cannot append it to the Page Title, so no branding.

              SO I still need an answer – how do I modified the Epik functions so that my Image logo displays but I can still have and use my Site Title for SEO purposes?

              in reply to: Need to disable auto-loading of jquery/jquery-ui #15843
              TrishaM
              Customer

                Well, after more investigation it turns out that it was a plugin – arconix faq plugin (a truly great faq plugin, by the way), and after commenting out their code that calls the incompatible jquery-ui, our custom functions started working again…..so I will get with the plugin developer on how to come up with a permanent fix.

                in reply to: Need to disable auto-loading of jquery/jquery-ui #15841
                TrishaM
                Customer

                  Hi Eric,

                  Thanks for responding so quickly……we do use around a dozen plugins, no more, but none of them have been updated recently, and none added……

                  SO my guess is that somehow when Genesis updated, the update must be including a new version of jquery-ui.

                  I’ve been searching for how to deregister this call to jquery-ui from Genesis, without success – the few code snippets I’ve found don’t work, my guess is because it’s using “link” rather than script, so technically it’s not a script that can be deregistered (? this is just a guess).

                  in reply to: Problem with featured image support and Portfolio template #14144
                  TrishaM
                  Customer

                    Well I got this one resolved, thought I’d post my solution in case anyone else wants to do the same thing (Display a full-width Featured Image at the top of the page for pages that use the Portfolio Template). This puts the image above the Page Title.

                    First, backup your page-portfolio.php and keep it somewhere safe. Then open that file in a text editor, and add these lines of code at the top BELOW the Template name:

                    
                    // Adds Full Width Featured Image above title on Pages that use this Portfolio Template
                    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
                    add_action( 'genesis_before_content_sidebar_wrap', 'featured_post_image', 8 );
                      function featured_post_image() {
                    	the_post_thumbnail('full');
                    }
                    

                    Naturally this assumes that you’ve assigned a Featured Image to the Page that you apply this Template to, and as I’ve done, ensured that the image is a full-width (1140px wide) image.

                    Once you’ve updated the Template, you’ll get the full width image below the header and above the Post title, then whatever content you may have on the Page, then the loop that creates the ‘portfolio’ of post or page links.

                    I hope someone finds this helpful. 馃檪

                    TrishaM
                    Customer

                      Dan it sounds like what you want is for a single-blog-post page to show (at the bottom of the current post) links to other/previous posts, not just the “previous” and “next” posts links? Or are you talking about a category (archive) page that shows a list of posts for that category or tag?

                      I think if we can get a feel for exactly what you want someone may be able to post a possible solution.

                      in reply to: Suggestion: use more widgets #14140
                      TrishaM
                      Customer

                        It is a beautiful Theme, isn’t it?

                        Hey as long as we’re making suggestions for improving some of the widgets to make them easier to implement for non-coders, here’s what I would respectfully suggest that Wes consider.

                        For the Pricing Plans, why not have the functions.php add a Custom Post Type for “Plans” with a few custom meta boxes to hold things like “package name” “description”, “price”, etc., then the widget could just make use of those meta boxes and instead of basically being a text widget into which one has to add a lot of HTML and style declarations, just have a few options for things like “show XX across” where we fill in if we want 2, 3, or 4 price modules going across.

                        Then someone can drag that widget into the widget-holder of their choice – full width, half-width, whatever.

                        in reply to: Replicating the look of the homepage through other pages #14139
                        TrishaM
                        Customer

                          Interestingly that site only uses that particular look on only that page – all of their other pages look very different and “stock” looking. Also, that page you linked to looks more like a category archive page – like they added a bunch of Posts that are categorized or tagged “improvements” and then they’re displaying a loop for that category.

                          If that’s what you’re looking to do, you can probably achieve what you want through the use of carefully edited images for each Post and adding some Post styling for archive pages (for whatever category) – for example to align the excerpt above the image, control the size and position of the post image, and have no margin or padding between posts, add a border, etc.

                          Also, you’d probably have to create an archive.php (or an archive-yourspecificcategory.php) and add a hook to change the thumbnail size to ‘full’ so that the image displays below the excerpt at full size, rather than the typical thumbnail size used in most archive pages. Epik doesn’t come with an archive.php so you’d need to start with the one provided by Genesis, copy it to your Epik Theme folder, and modify that one.

                          Of course maybe someone else here will come up with a better way, but this is how I would do it. 馃檪

                          in reply to: Epik stylesheet changes #14138
                          TrishaM
                          Customer

                            Hi @HiNooril,

                            Lots of good advice already offered above, thought I’d just add my two cents.

                            Diffchecker is good if you’re online, I occasionally do a lot of work offline (while traveling etc). I don’t think you mentioned what computer you use, but if it’s a Mac then check out Text Wrangler…it’s great, it’s free, and it has a built-in file comparison tool that finds every difference between two copies of the same file (or any two or more files, but it really only makes sense when you’re comparing different versions of the same file).

                            Also, I belong to several (Meetup) users groups, for WordPress specifically and web design in general – many of us have different smartphones so we all help each other out with testing and screenshots….look around your local area for Meetup groups and dive in – they’re a great place to network and learn too.

                            And lastly, whenever I modify a style.css that came with a Theme, I generally always put my edits at the very bottom (well commented of course), which for the most part negates the need to use the !important declaration. Occasionally I do have to modify styles that appear earlier in the stylesheet (usually, but not always, when an earlier style has already specified !important), but if I do that I add comments using all caps so that I can spot them very easily in the future. This helps if I decided to update a Theme, because I can easily find all of my own edits from a backed-up copy.

                            As for modifying styles live using Appearance > Editor, there isn’t anything wrong with that as long as you’re backing up the stylesheet before applying your edits…it’s very easy to get two or three edits into making changes, have something break, and then find it difficult to put things back the way they were before you started editing.

                            in reply to: Portfolio: custom excerpt length #14137
                            TrishaM
                            Customer

                              @eddieb I don’t know if you’ve solved this or not, but below is a standard code snippet I use on most sites I create to improve the out-of-the-box “excerpt” function in WordPress……this would let you use the Portfolio setting to display excerpts and have greater control over what appears in the excerpt. You can add formatting tags to what does NOT stripped where you see $text = strip_tags and you can modify the number of word where you see $excerpt_length (note: this is words, not characters). Maybe this will help?

                              // Improves the look of the excerpt, more words, allows bolding
                              function improved_trim_excerpt($text) {
                              	$raw_excerpt = $text;
                              	if ( '' == $text ) {
                              		$text = get_the_content('');
                              
                              		$text = strip_shortcodes( $text );
                              
                              		$text = apply_filters('the_content', $text);
                                       	$text = str_replace('\]\]\>', ']]>', $text);
                              		$text = strip_tags($text, '<b><strong>');
                              		$excerpt_length = apply_filters('excerpt_length', 55);
                                              $newexcerpt_more = apply_filters('excerpt_more', 'new_excerpt_more');
                              		$words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY);
                              		if ( count($words) > $excerpt_length ) {
                              			array_pop($words);
                              			$text = implode(' ', $words);
                              			$text = $text . $newexcerpt_more;
                              			$text = force_balance_tags( $text );
                              		} else {
                              			$text = implode(' ', $words);
                              			$text = force_balance_tags( $text );
                              		}
                              	}
                              	return $text;
                              }
                              remove_filter('get_the_excerpt', 'wp_trim_excerpt');
                              add_filter('get_the_excerpt', 'improved_trim_excerpt');
                              <!--formatted-->
                              in reply to: Problem with featured image support and Portfolio template #14136
                              TrishaM
                              Customer

                                Hi Eric,

                                Actually I’ve installed many bbPress Forums, I’ve been doing this for 10 years…..where the “new topic” form is located is controlled by the bbPress Theme, and although this is a very nice bbPress Theme being used here, it’s the first I’ve seen that makes one find their way to the very last page to find the New Topic form. Most have it at the bottom of the first page, or some have it on every page. All (that I’ve come across) have a ‘shortcut’ link to it at the top that just says something like “New Topic” or “Post New Thread” and when you click on that it jumps to the form. It’s a Theme issue, not bbPress.

                                AND I still need help……I thought this was resolved, but I’m only 75% of the way there.

                                I need the Parent Page’s Featured image to display above the Page title, then the page content, then the loop that finds all Child Pages and displays them in the Portfolio style. I have all of that working now EXCEPT the featured image for the parent page.

                                Whenever I try to add some code to the template to display the page’s thumbnail (at full size), it adds it instead into the loop (?) and messes up the child page loop results layout by adding every child page’s featured image (at full size) instead of the Parent page’s image….even though I’m using what is supposed to be the correct hook, genesis_before_entry (this is fired way before the loop is).

                                Can someone please tell me exactly what to add to the Portfolio Page template to display whatever Parent Page is assigned to that template’s featured image, once, above the page title?

                                Thanks!

                                in reply to: Problem with featured image support and Portfolio template #14125
                                TrishaM
                                Customer

                                  UPDATE: I did figure this out…..

                                  I REMOVED the code from functions.php that adds featured image support to before the post title on posts & pages…..then on page.php I added it back in minus the is_singular test since obviously you’re already on a single Page.

                                  In order to get this to work on single posts as well as single pages, I had to copy & rename the single.php file from the Genesis theme, and add the same code snippet at the top.

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