|
Flaggy posted:Does anyone have any experience with the W3 Total Cache plugin? Yeah, it's a beast. What's up?
|
# ? Sep 9, 2013 21:23 |
|
|
# ? Jun 5, 2024 05:46 |
|
rt4 posted:Can you make a diagnostic section on a template and check the output of get_settings('home')? Hmm, I think it was wp-super cache. I did a code:
- _brand.php - Footer.php - _footer_nav.php Thanks for your help; I haven't done anything major in WordPress for like 6 months so I'm sure I'll run into more problems.
|
# ? Sep 9, 2013 21:39 |
|
rt4 posted:Yeah, it's a beast. What's up? Trying to speed up my wordpress site as it has poor loading times. Seems like when I would enable some of the options it would break the site while others seemed to have little effect on it at all. Didn't know if there was a good tutorial out there or if someone here had alot of experience with it.
|
# ? Sep 10, 2013 13:29 |
|
Are you on shared hosting? A bunch of the W3 Total Cache options can be less than noticeable if you can't take advantage of certain PHP/nginx/Apache modules on the server (sometimes they need to be installed.)
|
# ? Sep 10, 2013 14:39 |
|
Gyshall posted:Are you on shared hosting? A bunch of the W3 Total Cache options can be less than noticeable if you can't take advantage of certain PHP/nginx/Apache modules on the server (sometimes they need to be installed.) Yeah I am on shared hosting. Would it work better on dedicated? I know being on a dedicated will speed it up some as well, would I even need the plugin at that point?
|
# ? Sep 10, 2013 14:52 |
|
If your shared hosting is not that good then the slow loading times might not be anything to do with wordpress at all. Switching to dedicated would almost certainly speed things up but maybe it's not necessary. I just switched from Dreamhost to Lithium hosting (goon run and good goon discounts) and even though it's still shared hosting (and actually cheaper) the difference in speed is staggering. I always thought WP was just kinda slow, but now I realise a lot of it was because of bad hosting. fuf fucked around with this message at 16:03 on Sep 10, 2013 |
# ? Sep 10, 2013 15:12 |
|
Dedicated hosting will almost always be faster. If you're on Dreamhost, try enabling PageSpeed on that domain. Also other tricks - have W3 Total Cache serve up static pages when possible, use Google's javascript libraries, etc.
|
# ? Sep 10, 2013 16:01 |
|
Hey guys. I've got my site setup to list 4 posts on the home page. These are the only posts on the site. I have removed their <h1> links so basically you scroll from post to post and it looks like continuous content. In my header, I'm using wp_get_recent_posts to show the posts in an inline <ul>. However, now I'm trying to figure out how I can link to them on the index page, as opposed to their actual permalink. Ideally i could do something with anchor IDs, but I've been poking at this for hours and now my brain hurts. Ideas? Here's what I'm using in the nav: code:
|
# ? Sep 12, 2013 04:07 |
|
In the loop where the posts are displayed, give the div for each post a unique id based on their post id:code:
code:
code:
code:
|
# ? Sep 12, 2013 10:40 |
|
You hit that out of the park, my friend. Works perfectly, thanks so much! I'll have the site wrapped up today and will post for feedback. Thanks! PS: Anyone using DreamObjects? .04 per gb, for life. Seems like a decent deal… pipebomb fucked around with this message at 20:33 on Sep 14, 2013 |
# ? Sep 12, 2013 15:19 |
|
Hello goons. I've run into a problem I can't seem to solve on a custom WP theme I'm working on. Short version: I need to be able to automatically add an anchor tag to the end of a navigation item where the page is a child of a specific page. So I've got a navigation item that goes to the Products page--I need it's sub-page menu items to also direct to the products page, but to a certain anchor on that page. So I guess what actually needs to happen is for it to take ../products/drill_bits and change it to .../products#drill_bits without the client having to go alter the menu and manually make the change. Most of it I can work out fine, I just need to figure out how to change the nav's URL. Any help would be awesome. Thanks!
|
# ? Sep 17, 2013 17:40 |
|
You'll either need to use mod_rewrite to accommodate the URL or write a custom walker function for your menu template.
|
# ? Sep 17, 2013 18:28 |
|
Ah you're awesome, thanks. I haven't had to alter the navigation menu like that before.
|
# ? Sep 18, 2013 15:16 |
|
What's a good theme tester for live sites? I'm looking for one that will play nice with Woocommerce.
|
# ? Sep 18, 2013 15:31 |
|
How does Wordpress minify its CSS? Is it an automatic thing or do you have to do it yourself?
|
# ? Sep 18, 2013 16:15 |
|
enthe0s posted:How does Wordpress minify its CSS? Is it an automatic thing or do you have to do it yourself? All the css is in your theme folder, and you have to minify it yourself. (I might be wrong about this but it's what I've always assumed)
|
# ? Sep 18, 2013 16:31 |
|
fuf posted:All the css is in your theme folder, and you have to minify it yourself. I was hoping that was not the case, since Google mostly came up with plugins to minify it as well. Oh well, thanks!
|
# ? Sep 18, 2013 16:38 |
|
enthe0s posted:I was hoping that was not the case, since Google mostly came up with plugins to minify it as well. Oh well, thanks! It's not too hard to minify everything locally before you upload though? I'm not sure why you would want wordpress to do it.
|
# ? Sep 18, 2013 17:02 |
|
fuf posted:It's not too hard to minify everything locally before you upload though? I'm not sure why you would want wordpress to do it. Well, it was using minified CSS, so I figured that if it's going to bother using it, it would also generate it as well. It's not a big deal to minify, it just doesn't make sense to me why they would do it this way.
|
# ? Sep 18, 2013 18:28 |
|
Can we discuss "useful plugins that should go on every WP install"? I like Limit login attempts and BackupWordPress Do people use Akismet? It looks like you have to pay now?
|
# ? Sep 21, 2013 14:48 |
|
What happened wordpress thread I thought you were cool
|
# ? Sep 22, 2013 16:17 |
|
fuf posted:Do people use Akismet? It looks like you have to pay now? I'm not sure exactly how useful it is really, but I just signed up for a new key like 2 or 3 days ago. I think you have to register a wordpress.com account?
|
# ? Sep 22, 2013 16:32 |
|
Yeah you need a wordpress.com account, and turns out you can choose a personal plan for free.
|
# ? Sep 22, 2013 16:41 |
|
Am I overreaching here? I have a custom post type with custom taxonomy and I am trying to make a list of all the items there. I want to separate each listing tho by their taxonomy. I am getting zero output with the following code.PHP code:
I haven't formatted the text yet as I cannot get a listing but I want something like TAXONOMY TITLE - post title. Figured it out! Like a loving idiot I was overwriting the drat $myvariable each time. I took it out of the entire thing and just used .= to keep adding to it. Also added ob_start inside the first for loop. I get the exact output I need. Now just to organize this crap (this client has 125 partners and they want them all listed on the page.....). Vintersorg fucked around with this message at 22:48 on Sep 23, 2013 |
# ? Sep 23, 2013 21:48 |
|
Is there any way to setup wordpress so that you can have the public-facing site at http://example.com and then the admin tools only listening to something like https://s.example.com/wp-admins/sitename ? I have seen examples to rewrite urls over to a similar folder structure but I'm trying to get everything under one SSL-enabled site with sub uris and such.
|
# ? Sep 27, 2013 16:30 |
|
Hey wordpress gurus - I've had a friend approach me for his little brochure ware site that has been exploited to show a div full of viagra spam to IE8 users (sorry web sense users this page will probably get blocked now): code:
EDIT-Arggh broke tables Double arggh upgrading to 3.61 broke all his menus and images Scaramouche fucked around with this message at 21:12 on Sep 27, 2013 |
# ? Sep 27, 2013 20:59 |
|
edit- i am dumb and bad....
Love Stole the Day fucked around with this message at 03:55 on Oct 31, 2017 |
# ? Sep 30, 2013 05:02 |
|
I originally asked this in the PHP thread, but they sent me here. I need some help getting started. I'm using WordPress for lawyerist.com. It's my own, custom theme. Here's what I'm trying to do: Loop 1: * If the post was published on or after Monday, publish it in Loop 1. * If the post is the most-recent post *and* it was published today, tag it with class="current". Loop 2: * If the post was published before Monday, publish it in Loop 2. Thanks in advance for any help you can give me. I'm cool with doing multiple loops. Mostly, I'm trying to figure out how to say "if the post was published on or after Monday" and "if the post was published before Monday" in PHP.
|
# ? Oct 1, 2013 20:47 |
|
Comparing date('N') to see if it's >=6 (Saturday) ought to get what you need http://www.php.net/manual/en/function.date.php
|
# ? Oct 1, 2013 21:07 |
|
samglover posted:I originally asked this in the PHP thread, but they sent me here. I need some help getting started. What have you tried/done so far? Wordpress' codex has some quality documentation, and it's very easy to filter posts by date published. http://codex.wordpress.org/The_Loop http://codex.wordpress.org/Function_Reference/get_posts More or less, get_posts will return an array where you can use the built-in PHP functions to filter by date. If you want to get really smart about it, you can modify the actual query so you only return the required data http://codex.wordpress.org/Class_Reference/WP_Query http://codex.wordpress.org/Class_Reference/WP_Query#Date_Parameters
|
# ? Oct 1, 2013 22:42 |
|
rt4 posted:Comparing date('N') to see if it's >=6 (Saturday) ought to get what you need Thanks! I think that's enough to get me started. This, too. Robot Arms fucked around with this message at 03:51 on Oct 2, 2013 |
# ? Oct 2, 2013 03:46 |
|
Is there any add-on that would be good for software packages? I've got about a dozen software projects with their home pages on my (old) website and I can't figure the right way to make them a new home on my new WP site. Having had to search other WP sites for software, I wonder if there is one. I'd like the page to display "about" text, pointers to publications, pointers to the dev repo and bug tracker and a list of releases or versions. Any ideas?
|
# ? Oct 7, 2013 15:00 |
|
It's not hard, but you'll need to do a little development in your theme to make it happen. Make a custom post type for your software project and add new fields (about, publications, repo, bug tracker) with the Advanced Custom Fields plugin. Then, create archive and single templates for your custom post type with your new fields on it.
|
# ? Oct 7, 2013 16:02 |
|
edit: nevermind, I'm totally wrong about all of what I just asked
spiritual bypass fucked around with this message at 21:36 on Oct 9, 2013 |
# ? Oct 9, 2013 21:15 |
|
This seems like a basic question, but I was wondering if there was a way to assign classes to custom post content short of typing it out inside the post content editor. For example, if I were using Twitter Bootstrap, assigning .col-3-md to images and then .col-9-md to the following text. I guess I could put the loop in a div and then style those via nth-child, but is there a less roundabout way of doing this?
|
# ? Oct 9, 2013 22:52 |
|
You could fetch the attached images in your template (or use Advanced Custom Fields) instead of inserting the images into the post body. http://codex.wordpress.org/Function_Reference/get_children http://www.advancedcustomfields.com/resources/field-types/image/
|
# ? Oct 10, 2013 13:54 |
|
Scaramouche posted:Hey wordpress gurus - The security issues are most likely plugin related. A lot of wordpress security concerns can come from holes generated by installed plugins. The first step I would take is to look into the plugins you have installed and see if there are any know security issues. Secondly I would recommend looking at solutions on https://www.projecthoneypot.org/. There are a couple of black list plugins there than can track what known malicious ip's are coming to your site. You might be shocked to see how many times a day you get hit. I have seen these attacks on sites sky rocket in the last few months for my clients. The only thing I can figure is recent updates to google search algorithms has made link spammers desperate. As for the tables and images breaking, it sounds like your theme is updating and over writing your content due to no child theme being set up.
|
# ? Oct 10, 2013 14:26 |
|
I'm hoping this is the correct spot for a small question (perhaps just a confirmation) about WordPress. Am I correct in my thinking that there is no way to create a new template page for a theme without access to the directories to place the new .php file, or is there some way that someone with administrator rights can create one from the WordPress dashboard? As a follow up, if there is a way to do it without dropping in that .php file, what is it? I sure as hell can't find it if it exists.
|
# ? Oct 11, 2013 16:16 |
|
This is a little stupid, but off the top of my head, the only way I can think to do it would be to create a plugin, then upload it to the dashboard to install it. If that's possible, then maybe you can have the plugin detect the current theme and create the .php file inside the theme directory.
|
# ? Oct 11, 2013 16:24 |
|
|
# ? Jun 5, 2024 05:46 |
|
e: This post was a lie because I misread a button.
|
# ? Oct 11, 2013 18:28 |