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
Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy
Two questions:

Here's my situation: I started a website a couple of weeks ago using WP (http://www.intensivepurposes.net). At the top of the page you'll notice I have a text banner. I'd like to change that into a .jpg graphic banner, but I can't seem to figure out how to do it.

Everything on the right side of the page (from the Twitter bird down) is controlled by sidebar.php.

There is a topbanner.php, but all it contains is

code:
<?php if(get_theme_option('topbanner') != '') {
	?>
	<div style="text-align: center; padding: 10px;">
		<?php echo(get_theme_option('topbanner')); ?>
	</div>
<?php } ?>
I'm trying to figure out:
1) What the dimensions of a graphic banner would be (to me it looks around 600x200)
2) Where I would insert the <img src=> HTML.

If it matters, I'm using the Modern Style Theme, which you can view/download at http://flexithemes.com

Thanks in advance!

Adbot
ADBOT LOVES YOU

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy

Ned posted:

Replace it with the code above. If you don't have the option set then that code won't run. This method will just stick an image there.

I replaced the previous code in topbanner.php with your code and now it's putting the banner at the top of each post. Obviously this isn't quite what I was going for. I only want one banner.



I think the answer may lie in the fact that there is this image:

is scrolled across the banner, effectively making the text sit on top of the stretched background image. Does this sound right?

How do I replace that image with my own, without it stretching across the screen?

I'm sorry if my questions are rudimentary. =/

Xarthor fucked around with this message at 21:03 on Nov 18, 2009

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy
That did the trick. Thanks, Ned.

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy
I've got a WP problem and I can't seem to figure out what the heck is going on.

Right now when I go to my site (http://theorangemusic.com) all I get is a white screen. Previous to that everything was working correctly and I hadn't changed anything or probably even logged in in maybe 2-4 weeks. The site was working fine and then *poof* it just stopped working.

My server is working fine because I can log into cPanel and see my files and stuff. Nothing in the files looks corrupted or missing...at least to my eyes. The problem is I can't login to my WP admin side at all (http://theorangemusic.com/wp-admin). I just get the white screen.

Any ideas? Is there a way to reload WP without losing all my files? What do I do?

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy
Here's my WP error log.

quote:

[19-Sep-2015 22:56:24 UTC] WordPress database error Server shutdown in progress for query SELECT prh_posts.* FROM prh_posts WHERE 1=1 AND prh_posts.post_type = 'wp-types-user-group' ORDER BY prh_posts.post_date DESC made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, wpcf_embedded_init, require_once('/plugins/types/embedded/usermeta-init.php'), Usermeta_Access->__construct, wpcf_admin_fields_get_groups, get_posts, WP_Query->query, WP_Query->get_posts
[21-Sep-2015 06:14:58 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Sep-2015 06:14:58 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

EDIT: I'm also getting this error

quote:

[Thu Sep 24 10:09:37.822750 2015] [access_compat:error] [pid 74326:tid 139802764625664] [client 210.89.37.122:53412] AH01797: client denied by server configuration: /home/pvvzbtyn/public_html/xmlrpc.php

Can anyone make heads or tails of it?

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy
Hey friends, one quick question:

My site is showing up as "not secure" which I understand has something to do with the certificate settings. How do I modify/change those?

For reference my site is http://djspiraldive.com - I'm using WP 4.9.8 with the Boldgrid App. The theme is called "HiFidel"

Adbot
ADBOT LOVES YOU

Xarthor
Nov 11, 2003

Need Ink or Toner for
Your Printer?

Check out my
Thread in SA-Mart!



Lipstick Apathy

mewse posted:

Changing the http to https in your url shows that your webserver is providing an invalid certificate. It looks like a self signed certificate with the hostname "djspiraldive.exhibit3.com".

It looks like you might be using a wordpress hosting package from inmotion hosting -- they should provide you instructions on how to set up a SSL certificate for your site and domain name. You will probably want to get certificates from LetsEncrypt because they are free and easy.

Not much of this has to do with wordpress, it's more of a web server problem.


Ah okay. Cool. My buddy runs the server (exhibit3) so I'll talk to him about the SSL. Thanks for the quick help.

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