Wordpress Discussion

  • Started
  • Last post
  • 164 Responses
  • sted0

    Anyone who struggles with the wp updates:

    If you are an admin you should receive emails regarding the core wp updates.

    I use a server control panel called plesk(onyx) for over 14 years, for example it sends you an email regarding the updates(plugins, theme, core), and you don't have to use the system built in installer, just setup the site and plesk can detect the new wordpress installs.

    It has many other features what can be useful if you host wp sites.

  • fadein110

    Quick question - I need to pull out a value from mySQL database (custom field) in wordpress.

    I am thinking of using the code below. Unfortunately I do not have access to the site currently so I am sending an updated file to the administrator.

    Anyone know if the syntax below looks okay? I just need to pass a value to PHP variable so I can do an if/else statement:

    <?php

    $jobactive = $wpdb->get_var("SELECT Job_Active FROM activejobs");

    if ($jobactive = "2") {
    echo do_shortcode( '[contact-form-7 id="115493"]' );
    } else {
    echo do_shortcode( '[contact-form-7 id="133"]' );
    }

    ?>

    • thanks in advance by the way!fadein11
    • I believe it should be:
      if ($jobactive == 2)
      no quotes if 2 is an integer and if you're trying to check and not set the var
      spot13
    • thanks yep - picked that up now. Still doesn't work but because of the database fields :( waiting to get a copy of the database.fadein11
  • vero_vandal1

    I love WP Commander
    https://cmscommander.com

    Run by a guy in Germany, makes controlling multiple WP sites easy.

  • fadein111

    Wow - had to come in here to cool off. That politics thread is getting even more depressing.

    Anyway - has anyone here much experience of moving a wordpress woocommerce site from http to https.

    It's a site from last year that needs updating to https. I have built sites from https in the beginning but need to upgrade this one.

    Any pointers? pitfalls? etc.

    I have read a few articles. Doesn't seem too bad. But the site does a lot of business so obviously has to be done right.

    Thanks for any help in advance.

  • oey0

    hey fadein11, mekk...and others

    I spent the last three days looking for a WP theme for the recording studio gig...fuck me!!!

    :)

    the site should be very simple.
    this is sort of the structure/pages it'll have:

    - home (contains about probably and social media links)
    - bio
    - gear/studio conditions
    - rental/usage rates
    - contact
    - blog (for ongoing projects)
    - portfolio (list of from artists who recorded there with audio player)
    - links page (to artists who recorded there)

    should be responsive (aren't they all nowadays so to speak?)

    plus maybe an audio player in the homepage?

    I think he would prefer a side menu or hamburger instead of the so commonly seen dropdown menu above the page that just drops down in the photo in the homepage.

    client (friend) would like it in WP so he can manage the blog entries and new additions to the artist list or photo of acquired material.

    He also prefers WP so he doesn't bother me with stuff he can do by himself.

    I don't think I need a framework at all to start with.

    I checked the following themes but they have so much more than my friend actually needs.

    Or would it be better to use a basic theme?

    https://demo.audiotheme.com/obsi…

    http://www.pirenko-themes.com/ho…

    http://themes.umbrella.al/?theme…

    http://demo.themezilla.com/?them…

    http://demo.themezilla.com/?them…

  • nocomply1

    @oey

    I generally recommend against the specialty themes that you linked to. In my experience those cause more problems than they solve due to feature bloat, poor code quality, lack of updates to remain compatible with the roadmap of WordPress, etc...

    In my opinion, it's much better to start with a more minimalist theme with a vetted codebase from a trusted vendor and layer in the additional functionality that you need through plugins (which is where that stuff belongs).

    I recommend http://beaverbuilder.com/ to a lot of folks in your situation. It's a page builder plugin, but they also offer their own theme which plays nicely with it. It's really flexible and you can get a ton of mileage out of it. It also has a huge user base and a good development/support team behind their product. In short, they're not going anywhere. (And no, they don't pay me to promote their stuff.)

    • ah! thanks nocomply! i understand what you mean. still I would prefer to modify the html and css by myself and not use drag and drop page builders.oey
    • checking the beaver right now.oey
    • I was thinking that maybe it's just better to use a minimal theme as well but with high customizing possibilities .oey
    • You can still do a lot of manual customization to your theme even when using Beaver Builder. I do that all the time.nocomply
    • But if you're going to use a minimalist theme and customize it yourself, I like working with Genesis - http://my.studiopres…nocomply
    • It's got a bit of a learning curve though. If you want to avoid that I'd go with a child theme based on the default twentysixeen, twentyseventeen, etc.. themes.nocomply
    • Or for super-minimal try http://components.un… or http://underscores.m…. When I build completely custom themes I start with underscoresnocomply
    • i was checking on the genesis framework yesterday.oey
  • ArmandoEstrada1

    _S + Zurb Foundation == Awesome Custom sites...

    • Yeah good combo there too!nocomply
    • the plot thickens :)oey
    • this is more stuff to learn than I thought...oey
    • so you guys are basically telling me to build a theme.oey
    • and use _s as starting point and build it using a framework like foundation, genesis or the beaver. right?oey
    • hm...oey
    • Yeah that's right. But that's because we do this stuff all the time. That Beaver Builder route will get you the furthest the fastest though.nocomply
    • Most off the shelf commercial themes are garbage in my experience.nocomply
    • thanks nocomply that's really a lot but very valuable and practical advice from someone who knows. that's gold.oey
    • but let me get this straight, i can invest in the beaver and use it for other clients? like the client i have now will pay the server, domain and...oey
    • take care of renewing. will pay for the theme, etc...oey
    • ah! checking that they have a yearly plan of 99€ that doesn't allow WP multisites and a pro plan of 199$. hm...oey
    • thanks too Armando!oey
    • and components is a group of defined themes based on _S right? so i can try those too.oey
  • oey0

    so i downloaded _S to play with on my stuff to start with and will keep reading about and try the beaver, foundation and genesis to help make a decision.

  • ArmandoEstrada0

    Here is my copy of a theme I created with _S and added Zurb Foundation grid only. This does NOT have all the url stuff, so if you want to add components just do a custom Zurb export and replace. Im no expert, so use this as is.

    https://app.box.com/s/d9o2yk7b0z…

    • wow! thanks! I'll try!oey
    • <- url stuff= Zurb Stuff, like buttons styles etc.ArmandoEstrada
    • haven't quiet figured out how to do that but I will be in 4 hour daily modus after the weekend.oey
  • oey0

    now I have an install of WP with:

    _S + Foundation (enqueued) + Beaver Builder Light

    Haven't quiet understand how this Foundation thing works but I just started yesterday.

    Thanks!

  • ArmandoEstrada1

    Foundation is the responsive grid. You do things in rows and create columns.

    So your mark up will look like:
    <div class="row">
    <div class= small-12 columns>
    YOUR CONETENT
    </div>
    </div>

    So anything you throw inside there will respond according to your column width setting.

    Check the grid examples here. And Block Grids are fucking awesome. I cant believe Bootstrap doesn't have something like this natively.

    http://foundation.zurb.com/sites…

  • rupedixon0

    Hey Guys, I've got a question about making a really simple contact form for a WP theme I'm developing...

    As a rule I have been avoiding any unnecessary plug-ins or third party stuff (less bloated, more secure etc.), but it looks like it might be a good idea to use a contact plug-in (gravity/ninja/not really sure!) because they may be more secure.

    Is this right or would a hand-coded form be just as secure relying on the inbuilt WP security...

    This is the first theme I have developed so any good contact or security advice is welcome.

    thanks

    • gravity forms ftwPonyBoy
    • security on a form? what data is being sent?fadein11
    • I've recently started using CalderaForms on a lot of my sites. It's great.noneck
    • CalderaForms is a complete form designer tool isn't? it's a really heavy tool. if you want something easy and effective use contact-from7.sted
    • if you need advanced features use gravity.
      don't waste your time to do this from scratch. you can bundle the plugins with the theme
      sted
    • oh yeah... contact form7 is nice... and it's packaged-in w/ a number of themes now... although I find myself resorting back to gravityPonyBoy
    • Thanks guys, 'contact form7' was in my shortlist, so was 'fast secure contact form', but I liked 'c f 7' more...rupedixon
    • @fadein11, just concerned about the form being used to send spam etc...rupedixon
    • ah - you just need captcha or similar then.fadein11
    • I'll throw another vote for Contact Form 7dee-dubs
    • If you build yourself, beyond simple captchas/nonces, you need to be careful to sanitize user input. No SQL, no scripts, virus checking uploads, etc.monNom
    • look into SQL injection, XSS, XSRFmonNom
  • dbloc0

    Best plugin for delivering different sized images for mobile/tablet & desktop.

  • dbloc0

    Best Caching Plugin?

  • mg330

    Considering moving some sites and future sites to a Wordpress multi site install, and thinking about a subdomain setup to differentiate between them, such as:

    URL.com - main URL and landing page, simple links to subdomains and accumulation of all subdomain site blog posts, as links to those full posts.

    photos.URL.com - migrated photo portfolio from another site, with a blog.

    music.URL.com - site with music I've recorded and possibly a blog.

    UX.URL.com - professional portfolio and info, maybe a blog, private portfolio.

    I started working with a new theme today that offers an extensive amount of customizations. I'm interested in multisite because I don't want one huge site with all this content, and I want a consistent look/feel but slightly different designs per site.

    Any thoughts or tips?

    • that's .htaccess magic...doesn't matter if you are using wp or any other setup...uan
    • http://stackoverflow…uan
    • from what you're describing it do it with the sub-directory option. cuz areas are all related. also some say music.url.com ranks differently than url.com/musicSquiddy
    • fwiw, at my company we do this with url.com and url.com/spanish and for page speed purpose, sharing etc used photos.url.com as a CDN.Squiddy
  • mg330

    Thanks for the responses to my last question. So, here's another question:

    If you went to a site that was url.com, and had links to url.com/photos, url.com/ux, url.com/music you'd probably assume these were all within the url.com site, and maintained the same visual look and feel.

    But if they were distinctly different, ex: each subfolder is essentially a homepage for that "site" and each of those sites had pages, posts, etc. within, would that be weird?

    That's why I thought using subdomains would be the right way to go, because that perhaps gives a better impression that it's a distinct site. The UX and photo sites would each have their own blog, and on the main url.com domain, these would pull into that page, which would accumulate all blog posts and offer very limited content, and a link to a contact page that serves as the contact page for all the sites.

    Just trying to decide if I'm thinking about this the right way. Every once in a while I get the urge to finally consolidate a couple different sites and I've been checking out multisite in Wordpress, along with a really versatile theme, and thinking about how to go forward.

    • hmm. if the url.com is just a one-page thing then url.com/music and url.com/photos would be fine I think. I'm not a UX or design person thoSquiddy
    • but since photos and music are different, maybe go for different domain names and manage it with Multisite Domain Mapping and stick to subdomain.Squiddy
  • pablo28-1

    Generate custom code for your WordPress project
    https://www.wp-hasty.com/

  • Fax_Benson1

    Anyone used a WP plugin to generate email newsletters? Are they good enough to use instead of mailchimp et al?

    • I would use Mailchimp personally - why not? It's easy.fadein11
  • PonyBoy0

    looking for some help w/Contact Form 7.

    I have a simple form that works fine on Macs / PCS... It just won't work on mobile?

    The 'send' button is clickable but nothing occurs... no email is sent / no false confirmation etc... nothin'

    Anyone able to shed some light on this?

    http://www.undertowphx.com/soire…

    • this is weird, have you tried to reduce the js junk in the footer?sted
    • geez that theme init js, wtf? dequeue that first, and jquery uisted
    • You might need a SMPT plugin, search there are a few. Use Gmail as the server...ArmandoEstrada
    • It's gotta be a JS issue but I'm still clueless... I got cosmo on the case :)PonyBoy
    • FFS... it was a stupid theme conflict (the same theme the form plugin is PACKAGED WITH!!!) If anyone is using the Salient theme make sure...PonyBoy
    • ... you have 'Activate Fullscreen Rows' switched to 'off' on the page w/your form... else you're fucked. ONE LIL BUTTON / OPTION!!! 5 days of heartache... :(PonyBoy
    • lolsted
  • dee-dubs0

    Has anyone created a header HTML video carousel slider?

    I'm trying to create big background video (100vh 100vw) that once video completed playing it goes onto the next video and so on. (new streamline appears over each video)

    From what I can tell Slider Revolution may be able to do this but haven't tried it yet.

    Has anyone any suggestions on best way to do this, is slider Revolution best tool for this?

    • save yourself the trouble and tell your client it's not a good idea with latest safari browser: https://techcrunch.c…hotroddy
    • ^ that's a good point, thanks.. although if they still insist I will still need to implement..any suggestionsdee-dubs
    • slider revolution can do pretty much anything slider related yep and you can do what you mention with it. It's bloated but works well.fadein11
    • may need to use its API thoughfadein11
    • yup, slider rev ftw, but it's heavy as shitmoldero
    • Slider Revolution reminds me so much of Flash 5. It's a nightmare.noneck
    • SoliloquyWP will do what you want. It's pretty rock solid. Pony up for the full version.Centigrade
    • FlickityESKEMA
    • @noneck - it has its issues and yep v.bloated as I say but the quickest solution to what he needs I reckon.fadein11
    • Flash 5....far better than current animate cc bullshitfuturefood
    • Who the fuck decided not to QA animatefuturefood
    • Thanks for help...Slider Rev it is then, I am pushing that they should seriously think about dropping the video for future proofing reasonsdee-dubs