Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
EAT THE EGGS RICOLA
May 29, 2008

Heskie posted:

Check out http://www.advancedcustomfields.com/ if you haven't already. I've not looked into it fully but there's docs on dealing with user fields too (http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-user/).

As for creating the actual pages, you may need to create a page with a page template and use something like get_users() to loop through your users. There's probably plugins for this, but they may not have the customisation you're after and personally I prefer handling this sort of stuff manually.

You could create the pages programatically too using wp_insert_post(), adding this to your theme's functions.php or preferably in a custom plugin so the feature persists between theme changes.
Thank you. This was about what I was going to end up doing, I just wasn't sure if I was missing something and there was already an obvious plugin that handled it.

Adbot
ADBOT LOVES YOU

cheese eats mouse
Jul 6, 2007

A real Portlander now

rugbert posted:

I'd say anywhere between $25 and $50 an hour. I do a lot of local freelance work in Richmond, VA so I keep my hourly rate there low to beat the competition.

Uhh yea raise your rates. After some research and lsitening, I asked for $60/hour and everyone thinks that is reasonable.

I'm at a stumbling block and it's the last thing for this site I need. I have 3 different blog pages that each display a different category. I have an industrial blog, an education blog, and a healthcare blog. My issue is the highlighting of the main navigation and the displaying of the different subnavs depends on either an is_pages query or an is_category, but going under the single posts removes the category slug so is_category fails. So the single post ends up being http://website.com/single-post instead of http://website.com/category/single-post. I would like the latter to happen, but am I missing something? I've never had to set up blog pages like this.

black.lion
Apr 1, 2004




For if he like a madman lived,
At least he like a wise one died.

I'm looking for a plugin to throw up a coming soon page, that scales correctly with mobile and that let's me upload my own background image, preferably with a countdown timer or lets me put one in. I'm using Ink Coming Soon right now, but it doesn't scale on phones or tablets. Any suggestions?

Chris!
Dec 2, 2004

E
Hey, I broke my Wordpress! I'm developing a site in localhost and then transferring changes (once a big section is working for example) onto a subdomain of my actual website, for my client to see.

I'm reasonably new to Wordpress and PHP, and have been using a framework called FoundationPress which is basically a blank framework that includes the functionality of Zurb Foundation.

Everything was working fine, but I just tried to log in to Wordpress on my subdomain, and have this message:

"Warning: Cannot modify header information - headers already sent by (output started at /homepages/11/d246808714/htdocs/clickandbuilds/WordPress/MyCMS2/wp-content/themes/FoundationPress-master/functions.php:34) in /homepages/11/d246808714/htdocs/clickandbuilds/WordPress/MyCMS2/wp-includes/pluggable.php on line 1121"

The locally hosted version is working fine, and allowing me to login, and the actual subdomain website is working fine. I've tried copying functions.php and pluggable.php but the error is the same.

What did I do to my Wordpress?!

Edit: I removed some stuff I'd added to functions.php and that fixed it... obviously. In hindsight I think I panic-posted this.

Chris! fucked around with this message at 10:51 on May 1, 2014

krystal.lynn
Mar 8, 2007

Good n' Goomy
For posterity, that error usually means you've got some rogue whitespace outside of php tags in the file it's complaining about. Annoying!

El Grillo
Jan 3, 2008
Fun Shoe
e: sorted it. I'd changed the URL setting from default WP URLs to 'page name' URLs and it stopped images loading on the page - because they were manually linked with shorthand URLs to the images, i.e. 'wp-content/uploads/img.png', and it was now adding the page-name bit of the new urls to the front of those links, i.e. 'wp-content/page-name/wp-content/uploads/img.png'

No idea why but hey :3:

El Grillo fucked around with this message at 15:36 on May 1, 2014

kedo
Nov 27, 2007

Is anyone aware of a plugin that would adjust Advanced Custom Fields's administrative UI to be a little more compact? I have a project with a repeater nested three deep, and unless you're on a massive monitor text fields become unusably narrow.

I'll probably just end up modifying the CSS myself, but figured I'd check first.

grenada
Apr 20, 2013
Relax.
I'm using to wordpress to set up a website for a peace corps project I'm helping out on. It's pretty much done but I am having a hard time setting up a page that introduces all of the volunteers and staff. Just popping in a picture and some text looks really ugly and I don't know and html/css so I can't really clean it up.

Does anyone know of any plugins or templates I could paste in that would help me? I just want to be able to have the pictures and text next to one another in a visibly appealing way. I'd be down to teach myself if you guys know of any beginners tutorials for doing that with html or css.

El Grillo
Jan 3, 2008
Fun Shoe
So I have a simple jquery script that's meant to fade in/fade out the body of my wordpress site on transition between pages:

code:
<script type="text/javascript">
$(document).ready(function() {
    $("#page_content_row").css("display", "none");
     $("#page_content_row").fadeIn(2000);
     $("a.transition").click(function(event){
        event.preventDefault();
        linkLocation = this.href;
        $("#page_content_row").fadeOut(1000, redirectPage);     
    });
         function redirectPage() {
        window.location = linkLocation;
    }
});
</script>
Words great in FF/Chrome, but on IE the 'display' 'none' command doesn't seem to come into effect until the page is loaded; in other words, you see a flash of the full body text before it then disappears and fades back in. Anyone have any idea how to get it to stop doing this?

In other news, I've just noticed that the .fadeOut command isn't actually working. What am I doing wrong?

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

El Grillo posted:

So I have a simple jquery script that's meant to fade in/fade out the body of my wordpress site on transition between pages:

code:
<script type="text/javascript">
$(document).ready(function() {
    $("#page_content_row").css("display", "none");
     $("#page_content_row").fadeIn(2000);
     $("a.transition").click(function(event){
        event.preventDefault();
        linkLocation = this.href;
        $("#page_content_row").fadeOut(1000, redirectPage);     
    });
         function redirectPage() {
        window.location = linkLocation;
    }
});
</script>
Words great in FF/Chrome, but on IE the 'display' 'none' command doesn't seem to come into effect until the page is loaded; in other words, you see a flash of the full body text before it then disappears and fades back in. Anyone have any idea how to get it to stop doing this?

In other news, I've just noticed that the .fadeOut command isn't actually working. What am I doing wrong?

So you want to force users to wait even longer for pages by making them sit through animation every time? This is what we in the business call "bad user experience" and you should really rethink that.

kedo
Nov 27, 2007

A 100ms timeout isn't horrific, but otherwise agreed.

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

kedo posted:

A 100ms timeout isn't horrific, but otherwise agreed.

Somebody needs to re-read that code :)

El Grillo
Jan 3, 2008
Fun Shoe

Lumpy posted:

So you want to force users to wait even longer for pages by making them sit through animation every time? This is what we in the business call "bad user experience" and you should really rethink that.

I would definitely agree if it were any other kind of website. This is a brochure website for a corporate ball thing, it really is about effect and striking design, getting people excited about the event. So the sacrifice in terms of functionality will hopefully be worth it.

If anyone can have a look at the code above and tell me where I'm going wrong, that'd be awesome!

tater_salad
Sep 15, 2007


kedo posted:

A 100ms timeout isn't horrific, but otherwise agreed.

your code is 1000ms and 2000ms

v1nce
Sep 19, 2004

Plant your brassicas in may and cover them in mulch.
FireFox and Chrome play nice when it comes to waiting for the document to be ready before displaying anything. The internet is fast enough these days that you tend to get all the HTML in one gulp and it's best not to tax the renderer with an incomplete document.
IE is a bit more "classical" in that it'll show you whatever it's had shoved down its neck hole as soon as it gets it, because it's a big dummy like that.

In effect, your call to $(document).ready() isn't going to execute until the document is ready. That includes javascript files being loaded, not just the HTML. In effect, IE is pumping out its partially complete page to the user, and then going "READY! .. oh, you wanted that hidden? OK I can hide that.."

Obviously if your document isn't ready you can't trust jQuery to be loaded at that point either, so you can't use jQuery to hide your element(s). Similarly, you don't want to set "display:none;" in the HTML, because if you load without JavaScript, or god forbid hit a JavaScript error, you'll never see that element in your page, ever.

The approved solution to this painful idea is to do something like this:

CSS:
code:
html.js .hiddenOnLoad {
    display: none;
}
In your page, inside <head>
code:
<script type="text/javascript">
document.getElementsByTagName('html')[0].className += ' js ';
</script>
In your page, at the bottom of the document
code:
<script type="text/javascript">

// Unhide content if not visible
var unhideOnLoad = function() {
    var $element = $("html.js .hiddenOnLoad");
    if (!$element.is(':visible') {
        $element.fadeIn(2000);
    }
};

// Unhide on document ready
$(document).ready(function() {
    unhideOnLoad ();
});

// backup: 2s max wait for content
setInterval(unhideOnLoad, 3000);

</script>
The bit in the head will execute as soon as it's hit, so it'll inject the ".js" class into the HTML element (modernizer does this anyway, so if you're using it you might not need this step). Your CSS then dictates that the .hiddenOnLoad class which appears under html.js will not be displayed. If javascript is disabled, it won't get hidden, and the wheels of industry keep turning.

In the footer, you've got both a document.ready and a straight-up 2 second timeout (setInterval). Whichever happens first of those two will cause the page content to be displayed. Basically we don't want to end up in a situation where document.ready doesn't happen for 10 seconds (bad resource, some weirdness, whatever) so we have a default max timeout of 2s before your content is forced onto the stage.

Edit: All that said, I have to agree with this \/\/\/\/\/, but there are (rare) situations where nutty code like this is useful. Largely for hiding/showing things that aren't going to hinder the user doing whatever it is they came to the site to do.

v1nce fucked around with this message at 13:24 on May 7, 2014

kedo
Nov 27, 2007

Lumpy posted:

Somebody needs to re-read that code :)

Er, whoops... :stonklol: Yeah, never mind.


El Grillo posted:

This is a brochure website for a corporate ball thing, it really is about effect and striking design, getting people excited about the event. So the sacrifice in terms of functionality will hopefully be worth it.

This is incorrect. Huge sacrifices in functionality are never worth creating "effect and striking design." Take this from someone with tons of experience in the matter. I've done probably upwards of 30 restaurant websites in my day and every single client would come into our first meeting saying, "we need to create an atmosphere," or "I want people to feel like they're really there," or "lets have some music play," or "I need an animated intro of my chef posing with steak knives," etc.

Without exception, every project where I capitulated to the client's wishes resulted in a terrible website that was useless for users and thus for the client as well. One Flash-driven monstrosity was actually cited in a "worst restaurant websites chosen by users" article.

Take a step back and really consider why people are going to be viewing this brochure site. It's likely to get information about the ball, no? What information do they need to in order to decide whether or not to attend? The location? The cost? Activities? Then ask yourself, "does adding three seconds of animation delays into page loads, potentially the single most important metric on a website, help my users achieve their goals, or hinder them?"

If you still say, "well it's worth it because..." congratulations – you have given birth to Bad Design and should be ashamed.


El Grillo posted:

If anyone can have a look at the code above and tell me where I'm going wrong, that'd be awesome!

The whole thing.

ZeldaLeft
Oct 15, 2004
Waiting in the mirrors of the Hotel Lobby
I had to format and reinstall windows so I backed up my entire wamp folder thinking I could just copy it over to my C drive.
Didn't work. Wampserver stays red and I cant get into phpmyadmin, localhost, or anything else.
Now, even though I reinstalled wampserver and wordpress, I can't find any of my pages, posts or customizations, even if I copy over the wp-content folder. Sooooo...

1. Why didn't my plan work? Where is the sudden miscommunication b/n wamp, wordpress, and my databases?
2. how do i get my pages and stuff back on a working install of wampserver/wordpress

Envy Insanity
Oct 2, 2003

Have gone to commit suicide. Intend to return from grave Friday. Feed cat.
:siren: Just an FYI - http://www.woothemes.com/2014/05/important-info-for-woothemes-customers/ :siren:

I lost $500 as a result of this and am having to redo all of my online billing and get new debit cards sent out. Check your statements and any cards used to purchase from WooThemes.

Authentic You
Mar 4, 2007

Listen now this is your
captain calling:
Your captain is dead.

laxbro posted:

I'm using to wordpress to set up a website for a peace corps project I'm helping out on. It's pretty much done but I am having a hard time setting up a page that introduces all of the volunteers and staff. Just popping in a picture and some text looks really ugly and I don't know and html/css so I can't really clean it up.

Does anyone know of any plugins or templates I could paste in that would help me? I just want to be able to have the pictures and text next to one another in a visibly appealing way. I'd be down to teach myself if you guys know of any beginners tutorials for doing that with html or css.

I wrote some bio display functionality for a theme I did recently - it's a custom post type with an associated widget so you can make nice-looking bio entries, drag them all into a special widget area in whatever order you desire, and then call that widget area via shortcode to whatever page you want, and they all show up auto-formatted with nicely aligned images and stuff. There's a field for position, too. Overall, it's a bit clunky for what it does (based it on code for a different feature that actually needed a full-blown post type designation), but very easy to work with, lets you arbitrarily add bios without having to make the person a WP user (a thing with many bio-related plugins I've seen), and does all the formatting stuff automatically.

If you or someone you know/work with is comfortable adding stuff to your theme's function file and stylesheet, PM me and I can give you some code to paste into your theme. If I had more time and didn't loving suck at plugins I'd just package it into a plugin, but oh well.

Sad Panda
Sep 22, 2004

I'm a Sad Panda.
I'm not sure which thread to post this in, but maybe here. I use the following code to create my image gallery and lightbox.

code:
<a href='big url'>
<img src='medium url' title='Image title'/>
</a>
Before, the lightbox plugin that I used could pull the title from the img to show it on the lightbox. Now, the newer plugin, which works better in every other way, can't. I spoke to the dev of the plugin but he didn't have a solution. How can I get the title='Image title' code copied into the a href part too so it looks like

code:
<a href='big url' title='Image title'>
<img src='medium url' title='Image title'/>
</a>

Octopus Magic
Dec 19, 2003

I HATE EVERYTHING THAT YOU LIKE* AND I NEED TO BE SURE YOU ALL KNOW THAT EVERY TIME I POST

*unless it's a DSM in which case we cool ^_^
I'm working on a wordpress site now that has a few years of database entries (about 2000), and apparently it has poo poo itself hard, as in the site itself will only allow you to "submit for approval" on pages versus posting (even with an admin account). I can't create any new accounts, can't create drafts, can't delete files.

Nothing has been changed.

Is there any way to fix this other than backup, dump, rinse, reinstall as stackoverflow recommends?

v1nce
Sep 19, 2004

Plant your brassicas in may and cover them in mulch.

Sad Panda posted:

code:
<a href='big url' title='Image title'>
<img src='medium url' title='Image title'/>
</a>

This is going to require a change to the JavaScript in the plugin, provided there's not something interfering with the reading of property, like a conflict between two plugins.

Need more info though; what plugin exactly are you using? Do you have a page where this isn't working which we can look at?

slothrop
Dec 7, 2006

Santa Alpha, Fox One... Gifts Incoming ~~~>===|>

Soiled Meat
I've somehow broken the touch enable portion of my website menu!

The website is here

The theme I am using (Resort by Woothemes) supports touch stuff but when I load up my site on iPad or smartphone neither the normal dropdown menu nor the menu button that is displayed on smaller resolutions works!

Any ideas what I've done to gently caress it up?

wwb
Aug 17, 2004

Trying to make some sense of one of our blog's performance numbers. It is running on a semi-dedicated server with 4 cores, 4gb of RAM running RHEL 6.5 and Apache 2.2. Right now when the site gets under some sort of load performance drops from ~300ms rendering times to ~600ms rendering times and then seems to hold steady there. Is this normal for a pretty typical wordpress site with a fancy-pants theme?

Second, perhaps related question is how should one configure the apache workers on this box -- currently we can only get it to consume 1/2 the RAM at most. This was better than before where a misconfiguration let the box wedge itself under load. Here are the major config parameters:

code:
maxclients		48
maxrequestsperchild	10000
maxspareservers		32
minspareservers		16
serverlimit		48
startservers		16
We got to 48 dividing total memory by memory per process but we never see more than 32 servers no matter what the load. At least we aren't wedging the box.

Weird Uncle Dave
Sep 2, 2003

I could do this all day.

Buglord
You're only seeing 32 servers most of the time, because of the "MaxSpareServers 32" line. "ServerLimit 48" means that when you're under heavy load, there can be as many as 48 processes, but when the load drops it will kill them off until it gets down to 32 (or fewer).

Are you using any WordPress caching (something like WP Super Cache)? If Apache is only serving up static content and not dynamically generating it, it should be able to handle a LOT more traffic than what you're describing. I was load-testing a similar setup a couple weeks ago (4 cores, 8GB RAM) and the limiting factor ended up being the network; we couldn't generate more than about 600Mbps of test traffic. At that time the CPU was under 25% usage.

wwb
Aug 17, 2004

Thanks for the response. Sounds like something is a little off in our setup then.

There is zero caching going on on the wordpress installs outside of APC. I figured that would be the ultimate recourse but it tends to hide a lot of underlying problems I'd like to get sorted and humans aren't complaining about any performance issues.

Thanks for clairifying about the worker processes, it makes a bunch of sense. Our traffic pattern tends to be very quiet until someone tweets something then we get a little storm of traffic. Things peak in the 100 requests/second range according to new relic.

One other dumb question -- if anyone else here is using new relic, what is a good appdex T-Value for a wordpress site? We are at the default .5 seconds and it seems to be a bit chatty for my tastes if that isn't a good indication of user frustration.

ufarn
May 30, 2009
I'm playing around with WordPress, but there's something I don't quite understand concerning CSS.

I'm used to just making plain static websites, and I'd like a workflow where I basically create a static version of the site and subsequently port it to dynamic WordPress.

However, I get the impression that it's basically impossible, and that you have to use some messed-up template that you tweak to something that vaguely resembles your original intention.

Is there a way to the preferred workflow, or how do I best go about implementing WordPress as someone who starts out with a static version of the site?

spiritual bypass
Feb 19, 2008

Grimey Drawer
You can definitely start with static HTML and have Wordpress fill in the gaps. It will look exactly the way you want it to look. What you need to do is create a theme, which is basically all the elements of a regular static HTML site with Wordpress parts that get filled in by the CMS. If you already know PHP, it probably won't be difficult.

There's a theme development page in the Wordpress Codex that ought to tell you exactly how to get started. Once you've got the basics of the theme set up, come ask more specific questions and you'll be headed toward a finished site before you know it.

Bearnt!
Feb 6, 2004

No onions, no onions
Is there anything I can use to hide specific fields of a meta box based on the user role? I have three levels of subscriptions and only want to show certain editable fields for certain user roles. I found IM8 Box Hide which is pretty cool and accomplishes hiding the entire meta box itself just no option for individual fields.

Scott Justice
Jul 15, 2007
Hot Justice just sounds better
I might be in the wrong thread here. I just started learning Wordpress today. I bought hosting, a domain, and a premium theme. I am slowly figuring things out, but I was wondering if someone could help me out with setting up picture links and columns in the style of my theme. I'm not sure what to select or edit in order for my website to start displaying like the Theme's demo version.

The demo of my theme is here for reference: http://demo.dankov-theme.com/?theme=ProStore

In essence, what I'm trying to do is get my blog to display picture links like the ones in the style of the theme. I'd like the first two Picture Links to be my 2 most recent blog posts, and the row of 4 picture links that go under the two to become Sticky Links where I keep my "about me", "Ebook", "How to", "Why to" pages.

Any help, or maybe even a link to a good guide, as I'm sure I'll need more help soon, would be appreciated.

Authentic You
Mar 4, 2007

Listen now this is your
captain calling:
Your captain is dead.

Scott Justice posted:

I might be in the wrong thread here. I just started learning Wordpress today. I bought hosting, a domain, and a premium theme. I am slowly figuring things out, but I was wondering if someone could help me out with setting up picture links and columns in the style of my theme. I'm not sure what to select or edit in order for my website to start displaying like the Theme's demo version.

The demo of my theme is here for reference: http://demo.dankov-theme.com/?theme=ProStore

In essence, what I'm trying to do is get my blog to display picture links like the ones in the style of the theme. I'd like the first two Picture Links to be my 2 most recent blog posts, and the row of 4 picture links that go under the two to become Sticky Links where I keep my "about me", "Ebook", "How to", "Why to" pages.

Any help, or maybe even a link to a good guide, as I'm sure I'll need more help soon, would be appreciated.

So your issue is getting pictures to accompany each post? From a quick glance at the theme code, it looks like those are featured images. In WP, you can assign a featured image to each post, and then the theme can utilize/display the image in various ways. Go to one of your posts, find the Featured Image meta box, and upload/insert a picture and that should do the trick.

Mighty Zoltar
Aug 18, 2004

I AM A PIECE OF SHIT. IF YOU SEE ME ON THE STREET, PLEASE STAB ME.
I have a problem which I hope is simple to resolve.

I'm using the free version of the Start Point theme. Link is here; http://wordpress.org/themes/start-point

The problem I'm having is with the colours of this theme. I have managed to change everything in the CSS file to adjust to shades of blue, but I am not able to find where to change the hover function of the main mene. The hover over the menu stays as the salmon/pink/red colour and I cannot find the area to adjust this.

Any pointers would be greatly appreciated.

Ghostlight
Sep 25, 2009

maybe for one second you can pause; try to step into another person's perspective, and understand that a watermelon is cursing me



Line 64 of superfish.css is what I think you're looking for
code:
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: #e76756;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

Mighty Zoltar
Aug 18, 2004

I AM A PIECE OF SHIT. IF YOU SEE ME ON THE STREET, PLEASE STAB ME.
Thanks for your help with that code. The only other issues I have are;

The sub menu highlighting. That is, the drop down menu from the top menu. Where is the colour option for this?

Also, I would prefer the header part of the site to be the same for the sub pages along with the front page. This would be where the large, long picture is based with its text. How would I make this the default element at the top of every page, rather than sub pages have a slim picture and show navigation paths?

For reference, my site is denimbanana dot com

The menu in question is the hover over consultancy services, and the sub menu that works best is the Excel Services screen.

Technically, I'd also like to change the text formatting on the sub pages to be the same style as the text area on the front page (heading of Consulting Services)

Again, appreciate the help here.

Ghostlight
Sep 25, 2009

maybe for one second you can pause; try to step into another person's perspective, and understand that a watermelon is cursing me



Right above the previous block is the code for child menus
code:
.sf-menu ul li {
	background: #e76756;
}
.sf-menu ul ul li {
	background: #e76756;;
}
Unfortunately the layout issues would require me to be more familiar with the theme, and it's the start of a long weekend for me so I don't have a test environment to deploy it on. Off the top of my head, you'd copy the <div class="flexslider"> from home.php into header.php above the loop instance, then delete out <div class="breadcrum-wrapper"> from page.php; though, I think you can just turn off the breadcrumbs inside the the admin panel.

The heading style is a little more complicated - you basically need to do a search for all the .recent-blog-header rules (<div> and <h1>) and merge/overwrite them into the .post-page rules.

Mighty Zoltar
Aug 18, 2004

I AM A PIECE OF SHIT. IF YOU SEE ME ON THE STREET, PLEASE STAB ME.
That's all excellent help, and I really appreciate it. I've managed to do pretty much all the things I want to do. Just need to change the red underline on sub pages, which I can find fairly easily.

This should be my final question - how do I turn off the themes own mobile mode, as it appears to overwrite the WPTouch plugin and result in my site now showing up anything.

Omits-Bagels
Feb 13, 2001
Anyone have any experience with having your website being attacked? I've had over 6K hits to one of my pages in the past 12 hours (I normally have maybe a few hundred hits). According to my logs they are just attacking one page. I have no idea about this stuff so I'm a little worried.

down with slavery
Dec 23, 2013
STOP QUOTING MY POSTS SO PEOPLE THAT AREN'T IDIOTS DON'T HAVE TO READ MY FUCKING TERRIBLE OPINIONS THANKS

Omits-Bagels posted:

Anyone have any experience with having your website being attacked? I've had over 6K hits to one of my pages in the past 12 hours (I normally have maybe a few hundred hits). According to my logs they are just attacking one page. I have no idea about this stuff so I'm a little worried.

What do you mean by attacked? Do you have access to the server logs?

kedo
Nov 27, 2007

What's the page? How do you know you're not just getting a lot of traffic? 6k hits in 12 hours is not a ridiculous amount of traffic... that's only like 8 visits a minute. So if it's an attack, it's a hell of a lovely one.

If anything, view source on the page and look for weird redirects. Check your code and database for large chunks of base64. That's more in the "I was hacked" camp as opposed to "I'm being attacked," but it might account for the traffic.

kedo fucked around with this message at 18:30 on Jun 12, 2014

Adbot
ADBOT LOVES YOU

Royal Jeans
May 12, 2012
I'm a complete newb to wordpress. I'm using the Maxflat theme on http://www.puppyleaks.com this site I made last week and I love the look of having featured images BUT isn't there a way to specify that you want the article or post to start below the featured image? I don't know if there's a simple way to align the featured image to be centered, I haven't found it yet. I did try searching some wordpress forums for this answer and I found this http://wpsites.net/web-design/display-featured-image-before-or-after-entry-title-on-single-posts-pages/ I just wanted to make sure this snippet on adding an image before title looks like exactly what I should do.

Royal Jeans fucked around with this message at 17:29 on Jun 15, 2014

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply