Erik
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Ward] Static Front Page Padding with Bootstrap 3I would remove it just out of principle. It’s not like a screenshot or just a view from the inspector can’t get anything anyways. Plus, you prevent people from copy/paste/cut, open link in new tab/browser, save-as, print, translate.
No one is going to take your images.
Also the theme developer emailed me and we’re in contact =D
Forum: Themes and Templates
In reply to: [Ward] Static Front Page Padding with Bootstrap 3Looking at that site you linked, https://toolbox-4-websites.com/, there is so much going wrong with the way the HTML is set up it’s hard to say exactly where to fix it.
But I promise – it’s not wordpress core.
It’s as simple as my blog post says – the containers/rows/columns aren’t being used correctly, or sometimes not at all.
For instance, you have this set:
.home #main > .row { max-width: 100% !important; }
and
#main > .row { margin-left: auto; margin-right: auto; }
That’s going to mess things up. Plus, there’s no container around it, and then you have content inside of the .row, but no columns around the content.
I can’t really help without being able to fix or see the actual code and theme, but I can tell you that Bootstrap 3 is being used totally wrong here, so the first step would be to set up the container and grid how it is supposed to be. Then, you could go about determining if there are problems in wordpress 3.8 core or whatever, but I am pretty sure there isn’t. The only think is that it might add the name of the page to the body classes, ie <body class=”home…”>, but still, the extra styles your are overwriting of Bootstrap’s aren’t right anyways.
WordPress core doesn’t add classes to the HTML, and it also doesn’t really control themes. The problem is in your theme, 100%.
If it is the theme author who has to add the classes, you’re screwed for now. Also, the other pages, while they don’t have the 100% max-width set, they are just as bad, as in they aren’t use the grid properly either and create horizontal scrolling issues and the content touching the edges of the browser =(
Lots going on here. Wish I could help more. Also – why can’t I right-click on that site? Super annoying.
Forum: Themes and Templates
In reply to: [Ward] Static Front Page Padding with Bootstrap 3There is no container class around anything. You need a container somewhere, probably in <div id=”main” .. class=”container”>
The footer and header both have it, but it was left out of the main content.
Forum: Plugins
In reply to: Accessing multisite post data from "parent" siteI actually did figure something out, it’s very kludge and involves querying the wp database and finding a site_ID and stealing rows out of it…. I don’t even remember actually.
BUT, I will post everything I can and see if someone else can make it work on a different site. From what I remember, it involves a new piece of PHP on the page or place you want to retrieve it, and then a bigger block of code in the functions.php file.
When I get some time to actually sift through it today, I’ll reply again. It’s really sloppy, but it worked, but it was a very narrow use case that ONLY pulled the top row of the actives posts of a specific site-id in the multisite database…
yeesh.
That answers my question.
This site should have been 1 big site that made use of categories and taxonomies, but we’re stuck now with subfolder sites. From the front end it doesn’t really hurt, but it does basically turn each “category” into a separate site, which means we’re managing plugins and SEO for each sub site and the main site, instead of just having it be 1 wordpress solo install.
So basically we repeat the same SEO settings and plugin settings for 7 sites when just 1 site would have worked.
I’m presuming Andrea, that you’d agree that what I’m describing would have been much easier on me if I just did it all in a solo-WP and used categories and custom loops and styled each “section” with it’s own CSS to maintain the “color pallete” thing we’re going for… :/
Forum: Fixing WordPress
In reply to: How to hide date / time in individual post?What theme are you using?
If there’s a id/class assigned to just the date and time, you can easily hide it with
display:none;
.If you want it removed altogether, you’d probably want to create a child theme for whatever theme you’re using, and make a new styles.css and posts.php file for the child theme, and remove it from the template entirely.
Hard to say without knowing exactly what you want accomplished and what theme you’re using.
Forum: Fixing WordPress
In reply to: Themes don't allow styling post contentRead up on CSS cascasde, specificity, and inheritance: https://www.smashingmagazine.com/2010/04/07/css-specificity-and-inheritance/
I promise promise promise every single aspect of your post content is very easily styled in any fashion possible.
The theme might have ID’s or Classes that aren’t in the CSS file, but you just add them. Usually there’s a ID that wraps the post content, that way anything inside can be overpowered by writing your CSS in a way where the ID is in front of the elements, so if it was a div that had the ID of content_wrapper you’d write your CSS like:
#content_wrapper p {} #content_wrapper strong {} #content_wrapper h3 {} #content_wrapper .headline
and so on and so forth. The power of CSS cascade and specificity can literally let you make any element however you want.
Forum: Fixing WordPress
In reply to: home link(s) and mu-wp 3.1 default themeAre you using a custom menu? And if not, why not?
Forum: Installing WordPress
In reply to: domain nameSettings > General
That’s your site name. Change it there.
Forum: Fixing WordPress
In reply to: "I" and "A" sometimes turn into periods….You have some funky code going on with anchor tags in that sentence:
I think it is <a href="https://" target="_blank"></a>. matter of perspective.
What does this entry look like in your backend editor? It looks like whatever is going on, the A is being parsed as an
<a
tag.Forum: Installing WordPress
In reply to: WordPress displaying folder listing instead of index pageIf you’re seeing the directory contents instead of the actual pages, it probably means that your apache/php is not running or running properly for localhost.
I use MAMP on OS X, so I can’t really offer any advice for a windows setup.
Forum: Networking WordPress
In reply to: Multi-Site Navigation BarUse a custom menu with custom URL’s.
Forum: Installing WordPress
In reply to: Snow LeopardDo yourself a huge, huge, favor and ditch Laughing Squid and sign up for a Dreamhost account.
Did you fix this issue in your latest update? I updated to WP 3.1, and also updated the promotion slider, and it looks like the thumbnails are still working, but I don’t know if that’s because I made the change you recommended in your post, or if you updated the plugin files to have the same change.
??
Forum: Installing WordPress
In reply to: Snow LeopardYou don’t need to create a wp-config.php file. If you create a database, and then run the wordpress installer, it will do it for you.
There’s no way of knowing what you’re doing wrong without seeing a wp-config or your actual domain. Don’t post the database settings here on the forums, but you might want to link the domain you’re trying to use.
Even with no database installed, when you go to the root folder for your wordpress install, you’ll see a screen that says
There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.
If you can see that page, that means PHP is running, and you can proceed with the install. You don’t/shouldn’t browse to wp-install/admin.php.
In fact, I don’t even see that directory in a fresh download of 3.1.
Also, you shouldn’t be going to https://ftp.mydomainname.com to view files… why wouldn’t you go to https://www.mydomainname.com? If you are seeing the directory list of files, and there’s an “index.php” in that list, that means PHP isn’t running.
I just barely fired up MAMP, downloaded wordpress 3.1, dragged the folder into where my MAMP is pointed to run, went right to the root folder, and it gave me the above message I put in the blockquote.
You’re doing something outside of the normal install, I just can’t figure out what. There’s not even a wp-install folder in WordPress.
also, you should be going to https://localhost:8888/Your_Wordpress_Directory/ and nowhere else.