Forum Replies Created

Viewing 15 replies - 16 through 30 (of 46 total)
  • Thread Starter markhem

    (@markhem)

    deleting this comment. my mistake. previous question still needs an answer. thanks.

    Thank You alchymyth and ShokAIM. This works on my localhost, but not when I try it on my live site. My live site is in development, and I use Maintenance Mode while I work on it. I have deactivated all my plugins on my live site, including Maint Mode, and I am getting the white screen on the live site. Exact same functions.php file on localhost and live site.
    Here’s how I used the code;

    function wpsf_orderby( $query ) {
        if ( is_admin() || ! $query->is_main_query() )
            return;
     // do conditional checks here and return on false.?
    
        if ( is_category('groups') ) {
    	remove_action( 'pre_get_posts', __FUNCTION__ );
    	add_filter( 'posts_orderby', function() { return ' post_title ASC'; } );
    	}
    	   if ( is_category('classes') ) {
    	remove_action( 'pre_get_posts', __FUNCTION__ );
    	add_filter( 'posts_orderby', function() { return ' post_title ASC'; } );
    	}
    }

    Hope you still can see this thread.

    I want to use this for a couple of categories in my Main Menu. In the category ‘Groups’ on localhost I can now list where all the pottery groups are in my region in alphabetical order. I simply use the name of the city as the first word of the post title. I added a second instance of this and for ‘Classes’ and now that category is alphabetical too. My thumbnails and excerpts remained exactly the same, just a different sort order. This makes it much easier for people to look for things in their area.

    Thread Starter markhem

    (@markhem)

    So, I know that doesn’t work, because I just tried it on my localhost. Can anyone point me in the right direction? I’ve read a lot of posts on this, but can’t find a way to do it.

    Thread Starter markhem

    (@markhem)

    @dalibu – Thanks for that. I hadn’t considered option #1, since I didn’t know about the plugin. Good idea. I have both situations on the go, so the script is helpful as well.

    I want to create a work flow;
    localhost development > testing on subdomain > live site.
    I think I’m going to use my extra site for testing, using subdomains for each project.

    I’ve had success with WP Migrate DB downloading from my production site to my localhost so I can play around with ideas. Have you had any experience with that plugin?

    I think WP Migrate DB does pretty much what Search and Replace for WordPress Databases Script does. But I’ll read the documentation anyway.

    Thread Starter markhem

    (@markhem)

    Hadn’t added my Authoruzed Addresses under the User tab. Everything is working smoothly now.

    Sorry to send you so many emails, but maybe someone else will learn from my mistakes, and solutions.

    Thanks again. Great plugin. So many options.

    Thread Starter markhem

    (@markhem)

    Working. Ignore above questions. Being on a localhost only allowed POP3.
    Tried it on another site and gmail works. Retrieved my 2 tests, but also returned this message;

    There are 3 messages to process

    Invalid sender: [email protected]! Not adding email!

    A copy of the message has been forwarded to the administrator.

    Ignoring email – not authorized.

    Mail fetch complete, 3 emails

    Thread Starter markhem

    (@markhem)

    Hi Wayne. In my postie settings the mail protocol only offers POP3;
    IMAP/IMAP-SSL/POP3-SSL unavailable.

    POP3 runs on 110, and POP3-SSL on 995, but 995 is the port gmail runs on.

    I set up a gmail address, which I’ve sent mail to successfully, and I enabled POP in settings.
    1. Status: POP is enabled for all mail that has arrived since 8:15 pm.

    Mailserver; pop.gmail.com
    Userid; [email protected]
    Pass; my_password

    When I Run Postie I get an error
    Mail Connection Time Out. Common Reasons: Server Down, Network Issue, Port/Protocol MisMatch
    The Server said: POP3 connect: Error []

    So, if port 995 is the recommended port for gmail, but POP3-SSL is unavailable, am I going to be able to use gmail? Why are IMAP/IMAP-SSL/POP3-SSL unavailable?
    I’d be quite happy to use imap. Is it possible for me?

    Thread Starter markhem

    (@markhem)

    Thanks Wayne for developing and maintaining this plug-in. This is a real game changer for me since my users need to send their posts by email. This makes so much sense. I want non-members to send info as well, so I’ll use option 2.

    When I send the draft email from the secret address, does wordpress process the images in the same way it does when I use the media library? I mean, does it size the images according to the code in sizes in the functions.php file? And are images placed in the uploads folder in the same way?

    Will try it on my localhost. Thanks again.

    Thread Starter markhem

    (@markhem)

    In case anyone is interested I found this article that outlines the speicific text selectors to target in css.

    Changing fonts for twenty twelve theme

    Thread Starter markhem

    (@markhem)

    Okay. thanks. I did it and it worked, as you knew it would.

    By the way, 'Underdog', cursive; is a very cool font.

    Thread Starter markhem

    (@markhem)

    @esmi
    Thank you.

    @joel
    Thanks Joel for your explanation. I take it this gets around the need to dequeue Open Sans?

    Thread Starter markhem

    (@markhem)

    It’s interesting to know that there was a day when learning a WP theme was more accessible. Gives me hope that spending time with the code won’t make me more confused, but more focused.

    As I mentioned at Theme Hybrid the other day Justin, I am looking forward to the theme you’ve been sharing glimpses of over the last months. This seems to me like the model most of us need who want to graduate from Average Joe to DIY user. I especially think the learning environment you have created around your code is important. I lurk because I don’t have a handle on the basics. I read the tutorials, but its just taking me awhile.

    I don’t know that I’ll ever be a theme builder, but I still see a lot of value in being a competent DIY User. For this I, and probably others, need..

    • accessible code that serves as a concrete process for learning
    • identifiable themes that actually use that code on an everyday basis and have teaching/learning commentary built in
    • an open environment to ask questions, such as is offered here at the WP forum and at Theme Hybrid
    • maybe even some background material on how WP themes have evolved over the years, like your post that talked about theme template hooks being outdated

    This last point may be more a sign of the success of WP. So many ways to do things, which is great. But, its obviously an ever changing entity.

    I get that these things are all available in the WP community, that the codex has lots of this material, which I’ve read, that there are sub-communities all over that I can join. However, I personally have found it a little challenging to pull the pieces together. I simply haven’t been able to reach a basic starting point so I can choose my path to becoming a competent DIY user. The things Jose has told me about in this thread, and the things Justin is doing have helped me to finally get some sense of orientation.

    I’d like to see a set of materials that pull this stuff together more clearly. Maybe its out there and I just haven’t found it? The Theme Shaper tutorial that Automatic is maintaining would be a great piece. Justin’s ideas would be very helpful.

    WP is obviously brilliant, organic, and accessible in nature. Maybe its simply time for an island of simplicity. There will always be people who just get it. But, I bet what Justin is doing will pull in a lot people who are in my boat. Could the codex do this too?

    Thread Starter markhem

    (@markhem)

    One of the things I liked about Ian Stewart’s Theme Shaper tutorial, an exercise in how themes are put together, was the way get_template_part works. I find this gave me new insight into file structure. I see the bundled themes are going that way. I also read an article last week by Justin Tadlock who (I think) is essentially moving in this direction, too; Theme template hooks are outdated.

    Is this where the development community is headed in general? Just curious.

    Thread Starter markhem

    (@markhem)

    Jose, am I right in thinking that if I were to pick a starting point like Twenty Twelve, or Twenty Fourteen, really start reading the code and creating a site with my own sliders and such, that I’d be able to see similar things in other kinds of themes, and therefore begin to pick up on other ways to do things? Or, is wordpress built in a way that other theme builders do radically different things that require re-learning their process, as opposed to the ‘wordpress way’?
    I know themes in the repository are all reviewed and need to meet a standard. I just want to make sure that what I choose to start with has some lateral options when I’m bit more theme savvy and want to use another theme. How far from core code do repository themes get?
    I think what I’ve been seeing is that the more complicated themes have more elaborate file structures, and even finding the appropriate css can be hard sometimes. I suppose that comes with practice.

    Thread Starter markhem

    (@markhem)

    Wow! That looks awesome. When is it being released?

Viewing 15 replies - 16 through 30 (of 46 total)