Kenneth John Odle

Moderator

Forum Replies Created

  • Mod

    In reply to: Slider Plugin

    #22039

    my other pages

    Do you mean other pages on your blog? If that’s the case, there has been discussion of how to do this just recently in this forum. I forget where, but take a look around and I’m sure you’ll find it.

    Or maybe, just try adding this line to your child theme’s functions file:

    add_action('graphene_before_post_content', 'graphene_display_slider');

    If that doesn’t do it for you, you can also try:

    https://forum.graphene-theme.com/general-talk/slider-on-postsingle-page#post-11372

    or

    https://forum.graphene-theme.com/graphene-support/keep-slider-on-the-home-page#post-1978

    BTW, I totally need this. (I was going to add that as a comment, but could only do so by logging in to FB or Tw–I don’t do that.)

    Ken

    Mod

    In reply to: Replace Slider on Home Page

    #22186

    I’ve experimented in the Header.php, theme index.php and functions.php files and I just can’t seem to find the right place.

    I hope that you are not editing core theme files. This could cause problems down the road.

    I also hope that I am not sounding like a broken record (broken mp3 player?), but use a Graphene action hook widget area. These are incredibly powerful tools.

    Read my tutorial here:

    http://blog.kjodle.net/2011/11/04/graphene-action-hook-widgets-an-easy-way-to-modify-your-blog/

    Install the PHP widget like I mentioned in the tutorial. Create a widget area in loop.php — I would suggest graphene_before_post as a place to start. (If this isn’t right, you’ll have to experiment a little here.)

    This page tells you to insert this code into your template file:

    <?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>

    In this case, you would drag a PHP widget over to that action hook area and paste that code in that widget.

    Unfortunately, this will install the slider on every page and post. Maybe this is what you want. If not, you have two options:

    First Option: install the Widget Logic plugin, to control where that widget appears.

    Second Option: alter the code above to something like this:

    <?php if ( is_home() ) && if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>

    This is not tested, but I believe it will work. If not, someone with greater PHP skills than mine will point out where I went wrong.

    Mod

    In reply to: Header size

    #22194

    The header is part of the container div. You can make a larger header without making the content wider, but it will do exactly what you have noticed.

    The other, more pressing issue with this is that 2000px is a very wide header. Even assuming that you could get it centered (and there is probably a way, I’m sure), anyone with a smaller monitor will only see the center–the left and right sides will be cut off. I have a 1280×800 monitor, so I will only see the middle 64% of your header image.

    That said, if you really want to go this way, here’s a hack method you can try. You will need Photoshop or GIMP and you will need to know how to use a custom marquee size. This will probably work so long as your background is a solid color. (In your picture it looks white.)

    Create a background image that is 2000px wide and more than 110px high, and filled with the background that you want. Copy and paste your header image at the very top of the background image. Flatten, export as .jpg, then upload that and use as your background image.

    Using the custom marquee set to 960px x 110px, copy that center portion of your header out of your background image. (The bit with your name in the picture above.) Create a new file the size of the clipboard, paste, flatten, export as .jpg, then upload that and use as your header image.

    You can delete the code you mentioned above. You will need to set your background to “scroll” rather than “fixed.”

    A bit of work, I admit, and not a perfect solution to your issue, but the only way I know of to avoid the problem I mentioned.

    Mod

    In reply to: Where do plug-ins get called?

    #22198

    I strongly recommend against using any kind of plugin to add social sharing functionality, which is actually built in to the Graphene theme. A lot of these plugins cause more problems than they are worth, as you have discovered.

    I would go to Addthis.com or Sharethis.com and sign up (for free) to get some code from them. Then copy and paste it into Graphene Options >> General Options >> Social Sharing Buttons.

    I am new to this (2 weeks) and totally not a coder

    You actually don’t need any coding skills to use that code from Addthis.com. You may find that you want to tweak it a bit down the road, and for that you will need to learn a little coding. That’s when you start to really have fun with things.

    Try the Addthis code with Graphene’s built-in social sharing feature (you’ll want to disable those other sharing plugins) and see how it works out.

    Mod

    In reply to: can't create new page

    #22160

    You’re welcome. Glad we got it figured out.

    Mod

    In reply to: More Tag

    #19605

    Nope….it doesn’t change anything unfortunately…..

    Just spent several minutes trying this out on my blog and it doesn’t work for me either. I have no ideas at the moment. Sorry.

    Mod

    In reply to: can't create new page

    #22158

    so it happened while one of the upgrades.

    Also, make sure that your host is running up to date versions of PHP and MYSQL. Unlikely, but worth checking. (See this page for WP requirements: http://codex.wordpress.org/Hosting_WordPress)

    Mod

    In reply to: insert javascript code

    #22143

    Okay, here’s a really weird idea, but it might be what you are looking for.

    Try creating just a plain vanilla html file that contains the code for the map and the sidebar like in the link you provided. (Which is very, very interesting…I have never seen Google maps for this purpose.) Upload that to some safe place on your blog, and then use an <iframe> to place that file on your blog.

    Completely untested, but all my brain can come up with right now.

    Mod

    In reply to: More Tag

    #19603

    I wouldn’t even know where to start with PHP! lol

    The official PHP site is here: http://php.net/

    and the official PHP manual is here: http://php.net/manual/en/index.php

    But I like the w3schools php pages better: http://www.w3schools.com/php/default.asp

    But php.net has a very good (and very simple) tutorial here: http://php.net/manual/en/tutorial.php

    Cheers!

    Mod

    In reply to: More Tag

    #19601

    Have you tried changing this line

    'Continue reading »' => 'My New Text »',

    to something like

    'Continue reading »' => 'If you don't read this post a fairy will drop down dead »',

    or whatever you would like it to say.

    The reference is from Peter Pan; you’re dealing with a literature teacher here — 🙂

Viewing 10 posts - 4,521 through 4,530 (of 5,839 total)