essaysnark

Forum Replies Created

Viewing 15 posts - 286 through 300 (of 306 total)
  • Author
    Posts
  • in reply to: Agent Press Home page Customisation work $$ #36411

    essaysnark
    Participant
    Post count: 342

    We’re not using AgentPress so not sure if this is what you need but it should be pretty simple. Do you have a home.php file? If so you can put a Genesis filter in there – something like this:

    [php]
    // Force Sidebar-Content Layout
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_sidebar_content_sidebar’ );
    [/php]

    That way, you can set up your entire site to have one default layout using the Genesis -> Theme Settings options, and then have a different layout on the home page only.

    Theoretically the hooks for your Featured Listing could also go in home.php but maybe AgentPress has a specific way to manage it separately.

    Hope this helps!

    in reply to: Add a link to the post content after post excerpt #36403

    essaysnark
    Participant
    Post count: 342

    Not certain this is what you’re after, but here you go:

    [php]
    // Force a link anywhere the post excerpt is displayed.

    function excerpt_read_more_link($output) {
    global $post;
    return $output . ‘<a href="’. get_permalink($post->ID) . ‘"> Learn More…</a>';
    }
    add_filter(‘the_excerpt’, ‘excerpt_read_more_link’);

    [/php]

    If that’s not it, then the codex may help: http://codex.wordpress.org/Customizing_the_Read_More

    in reply to: WIshList Members have access to genesis admin menus #36397

    essaysnark
    Participant
    Post count: 342

    You could do a conditional check on it – something like

    [php]
    if(!current_user_can(‘administrator’) {
    remove_theme_support( ‘genesis-admin-menu’ );
    }
    [/php]

    in reply to: What Theme Would You Suggest? #36027

    essaysnark
    Participant
    Post count: 342

    One way to approach it is to identify what type of content and for what purpose. That site mostly seems like brochureware (no offense to the site, it’s beautiful! but it’s not “doing” much). If your friend will be writing regular blog posts and trying to build an audience of people returning regularly, then that’s one purpose; if she wants something to showcase her art and will update it infrequently, that’s a different need. If there’s an ecommerce element…. etc. The way we figured out which theme to go with was to first identify what we wanted the site to be/do and then we looked at the way the different themes were laid out – some emphasize different things than others based on how their default setup works.

    Hope that helps!

    in reply to: Best Subscribe Option? And How To Setup #36026

    essaysnark
    Participant
    Post count: 342

    What Brad is referring to is subscribing to a site’s RSS feed, which is a great way to distribute your content. When they sign up, your subscribers can access the content you publish as WordPress posts without ever coming back to your site – each post will be sent to them via email/through the RSS feed system. Implementing a sign-up box for these is as simple as putting the widget into one of your sidebars, which then shows the site visitor a field that they can type in their email address and hit Enter and it walks them through the sign-up process.

    Or, are you talking about letting someone become a member on your website so that they can access special content after signing in? If so, then you have a lot of options, and we’d need more info on your requirements before making suggestions. The big question is, are you going to charge for access? Or do you just want to know who’s viewing your content by having them sign up for an account before displaying it to them? Lots of ways to go and how it’s implemented is very much up to you.

    in reply to: How to replace […] with Continue Reading? #36024

    essaysnark
    Participant
    Post count: 342

    The code that TWF posted got miffed in the editor; let’s see if this works better:

    [php]
    /** Customize the read more link */
    add_filter( ‘get_the_content_more_link’, ‘custom_read_more_link’ );
    function custom_read_more_link() {
    return ‘… <a class="more-link" href="’ . get_permalink() . ‘">[Continue Reading]</a>';
    }
    [/php]

    This code goes in your functions.php or a plugin (if you’re not familiar with modifying WordPress in this way, then be VERY careful – you can inadvertently take your site down with a simple mistake; make sure you save a copy of functions.php on your computer first, so you can restore it if needed, and have your FTP site access credentials at the ready so you can transfer that original file up to the site if something goes wrong).

    in reply to: Custom Post Type not finding custom template #36023

    essaysnark
    Participant
    Post count: 342

    Here’s what I did to modify how my CPTs are being displayed:

    1) I copied the file single.php from the Genesis core directory, named it single-[cptname].php, and put it in my child theme directory.
    2) To make it look more like a page than a post, I just removed the post_info stuff:

    [php]
    // Remove the post info function
    remove_action( ‘genesis_before_post_content’, ‘genesis_post_info’ );
    [/php]

    That’s all I’ve got in the body of the file, and then the standard genesis(); at the bottom. If you want to change the layout so that it’s got a different sidebar, you can use the Genesis filters.

    Hope this helps get you pointed in the right direction!

    in reply to: Getting indexed by Shuffler.FM #35431

    essaysnark
    Participant
    Post count: 342

    Not sure if this is it, but in some JS code in your footer, the slash characters are escaped, which doesn’t look right to me – e.g.,
    [html]
    WPCOM_sharing_counts = {"http:\/\/onlytherealest.com\/daft-punk-ft-pharrell-nile-rodgers-get-lucky-preview-video\/":8360
    [/html]

    I’m just guessing if that’s it.

    The other step to try is disable your other plugins and then try again – it could be a conflict (JetPack is one that seems a little suspicious).

    I’m totally no expert, but those are where I’d start looking.

    ETA: By “suspicious” re JetPack, I just mean based on its proximity to the JS with those funky URLs, and also because I’ve had a plugin conflict with JetPack before that caused me to remove it – obviously it’s a good plugin from a reputable company!

    in reply to: Where is the Genesis Admin??? #35403

    essaysnark
    Participant
    Post count: 342

    Shannon, it sounds like you’ve got a lot of experience with tech stuff, and a setup that works for you, which is awesome. We don’t host with Bill but we are with another dedicated WP hosting company, and so just wanted to mention that we see a LOT of value – for example, with this recent brute-force WP login attack that’s going around, we’re not even worried since we know that our hosting company has our back. We still have complete control, in terms of access to the server and site setup, but we’ve got someone else managing the pesky details of security and backups, which is definitely a relief. When Bill was trying to diagnose your problem and laying out the possibilities with CloudFlare etc., he was just in debug mode and trying to throw out potential issues when he couldn’t even see the WP install; he didn’t come across to me as trying to sell you on anything in particular (in fact, it took me a bit of sleuthing to even find his site, to see that $20 figure you mentioned! he wasn’t pushing you towards anything, I don’t think, just commenting on how far he’d be able to try and help, at least that’s how I took it).

    Anyway, it’s great that you found the problem, and also great that it was such a simple one, and just wanted to mention that this thread was helpful in providing a little education to me along the way! Thanks to Bill and Wendy, and to you for posting the original issue. :-)

    in reply to: Getting indexed by Shuffler.FM #35400

    essaysnark
    Participant
    Post count: 342

    You said you placed the code in “several different spots” – where, exactly, did you do so? Did you try the Genesis -> Theme Settings -> Footer Scripts section (very bottom of page)?

    in reply to: List post titles on category pages #35246

    essaysnark
    Participant
    Post count: 342

    Scratch that; moot point. The pre_get_posts() hook won’t work in an archives.php template page, which Bill points out on his tutorial.

    in reply to: List post titles on category pages #35245

    essaysnark
    Participant
    Post count: 342

    Just in case anyone follows along behind, the code above seems to have gotten clobbered by the editor. Hopefully this works better:

    [php]
    <?php
    /**
    * Template Name: Archive
    * Props http://www.billerickson.net/customize-the-wordpress-query/
    **/
    add_action( ‘pre_get_posts’, ‘child_archive_display’ );
    function child_archive_display( $query ) {
    $query->set( ‘order’, ‘asc’ );
    $query->set( ‘orderby’, ‘title’ );
    }
    remove_action( ‘genesis_post_content’, ‘genesis_do_post_content’ );
    genesis();
    [/php]

    in reply to: Post info and Comment weirdness #35034

    essaysnark
    Participant
    Post count: 342

    **Totally** not an expert, but my suspicion is the “or” (||) in the two if(is_page(xxx)) statements — shouldn’t those be && instead?

    in reply to: Genesis Update Question #34992

    essaysnark
    Participant
    Post count: 342

    While what Susan says is true, there can still be unexpected behavior after the update that requires tweaking (as an example, in our most recent upgrade, we had to add code to functions.php since, as the support line told us, “Changes in Genesis 1.9 disabled the ability to make changes to the query using the grid loop function. This is because those changes have been known to cause significant issues.” We were surprised since we hadn’t seen any notice about this in the release notes (none that made sense to us at least!).

    As with any upgrade, be sure to have a backup available before clicking that little button, and allocate some time to work through your site and check everything out. There can still be surprises.

    in reply to: Website Hacked – Thoughts on How They Got In? #34663

    essaysnark
    Participant
    Post count: 342

    Great advice from Bill, as usual.

    In addition, that secureserver.net URL indicates you’re on GoDaddy, yes? If so, that’s not the most secure host in the world. See posts such as this one: http://wordpress.org/support/topic/entire-site-suddenly-in-italics-1?replies=38

Viewing 15 posts - 286 through 300 (of 306 total)