coreymj78
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureSweet! Thanks! This is exactly what the other guy said too.
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureNevermind, I got it now. But there is a problem. Ok, I was told to use this code in an “after navigation” easy hook in Headway:
<?php if(is_front_page() ) { ?> <div id="breadcrumbs"><p>You Are Here: <a href="http://yourdomain.com">Home</a> </p></div>That gave me an “unexpected end” syntax error on line 4, on my homepage. So I did some research on basic PHP and came up with this statement:
<?php if(is_front_page) echo '<div id="breadcrumbs"><p><a href="http://flooringlifemagazine.com">Home</a> </p></div>';BUT now on all other pages I get double breadcrumbs. Grrr. How can I change this code so that other pages don’t show them in double?
Thanks!
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureOk, I would have used your code, the problem is the template files with Headway. (and i just want to say thanks for even helping me with a non WP related issue) To edit the template files via the WP admin you have to go to the Network Admin area to see them, which to me means that they can only be customized network wide (no individual sub domain site customizations). Here are the template files I see in Network Admin > Themes > Editor:
TEMPLATES:
Comments
(comments.php)Footer
(footer.php)Header
(header.php)Main Index Template
(index.php)Theme Functions
(functions.php)custom_functions.php
(custom_functions.php)network_custom.php
(network_custom.php)STYLES:
Stylesheet
(style.css)custom.css
(custom.css)So if these can only be edited network-wide, wouldn’t any changes I make affect every site?
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureStrange. I guess it was added with Headway. I posted this question over on Headway forums and all he said was “it can be done with a bit of code and an easy hook” but didn’t go on to tell me what that code would be or what the easy hook was. lol *facepalm* then he gave me a link to a tutorial page which did me no good (the word “bread” didn’t even appear on the page once) as it described nothing having to do with breadcrumbs. Sheesh.
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureThere must be a WP breadcrumbs function for individual posts though. Otherwise why would there be the “turn off breadcrumbs” feature at the bottom of every edit post page?
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureYeah, even before I came back and read these responses, I saw that Headway is the platform which controls the breadcrumbs (although I’m still confused as to whether Headway is simply using a native WP function or whether it is completely related to Headway. You can tell a post in the WP admin to turn off breadcrumbs for a particular post. Not sure if this means much.
Anyway, I found the option in the Headway visual editor to turn on/off breadcrumbs, but I also see the they are turned on when I am viewing the home page, meaning that I’m going to have to ask the guys over at Headway how to do it with coding.
Thanks.
Forum: Fixing WordPress
In reply to: Breadcrumbs On Homepage?Could someone please tell me how to do this?
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureI suppose what you are suggesting is to simply add the same CSS for the breadcrumbs bar to the homepage (using the CSS class and page ID to single the home page out), even though it’s not the actual breadcrumbs function showing up? Or maybe I could use Headway to add a little horizontal leaf under the navigation that would contain the same CSS bar to make it look like the other pages. It would be a lot simpler if there was a way to simply tell the breadcrumbs to appear on the home page.
Is there no way to tell them to show up? How in multi site could I use a hook? Is there no way to edit individual pages of a sub domain site’s pages in multi site?
Forum: Fixing WordPress
In reply to: Breadcrumbs On Homepage?Here is what I was told to do:
[Code moderated as per the Forum Rules. Please use the pastebin]
Put this in functions.php (which I did).
But then put this:
<?php the_breadcrumb(); ?>In the template files I want to show the breadcrumbs in. For me this would be the homepage but I don’t have physical access to the actual page since this is a sub domain site in a multi site network?
Any help would be greatly appreciated.
Forum: Networking WordPress
In reply to: Understanding File & Folder StructureOk, I just read that the sub folders in a multi site install are basically virtual, meaning that a multi site install is simply a single installation of WordPress with multi site functionality (which is what I had originally thought) but then I kept asking myself, well then how would one go about adding custom php to a single page on one of the sub domain sites for example? If one never has actual physical access to separate php files for each sub domain site, then wouldn’t this be impossible? If so, then how would one go about doing this?
What I need to do for example, is tell WordPress to show breadcrumbs on the home page. I have designed a cool CSS breadcrumbs bar and it shows up on other pages, but need it to show up on the home page, but the method I looked up said I needed to add a php call to show breadcrumbs on the home page, but that it needed to be added to the actual home page, which in a multi site intall, I suppose I don’t have physical access to.
Any advice? Thanks.
Forum: Fixing WordPress
In reply to: Breadcrumbs On Homepage?Is this done with a hook? An easy hook with Headway? Or what?
Forum: Networking WordPress
In reply to: Settings > Media > Upload Options MissingBy “Not WPMU” are you referring to the fact that some folks mistake the references to the Multisite section of this forum with WPMU Devs? And if so, how would you rate the support given by WPMU Devs? Is it worth the money? If it’s not could you point me to a good overall support service for WordPress MU and popular plugins? Thanks.
Forum: Networking WordPress
In reply to: Images Broken In MPMUI solved this issue, but for other’s benefit I will describe how I got it working (as I would like other to do for me):
My problem (and this may not be yours if you set up your Multisite correctly) was that I had skipped a step in setting up my Multisite. On the http://yourdomain.com/wp-admin/network/setup.php page in the 3rd step you will see a code box with this in it:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]Or at least something similar. Make sure you copy/paste this code into your .htaccess file located in the root of your server (normally your public_html folder). If you can’t open or edit your .htaccess file, rename it to something like .htaccess2 then try. If you still can’t, go into your cPanel on your server and edit / download it that way. This fixed my issue for me and everything is uploading fine.
Hope this helps.
Forum: Networking WordPress
In reply to: Settings > Media > Upload Options MissingI solved this issue in another thread, but for your benefit I will tell you how I got it working (as I would like other to do for me):
My problem (and this may not be yours if you set up your Multisite correctly) was that I had skipped a step in setting up my Multisite. On the http://yourdomain.com/wp-admin/network/setup.php page in the 3rd step you will see a code box with this in it:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]Or at least something similar. Make sure you copy/paste this code into your .htaccess file located in the root of your server (normally your public_html folder). If you can’t open or edit your .htaccess file, rename it to something like .htaccess2 then try. If you still can’t, go into your cPanel on your server and edit / download it that way. This fixed my issue for me and everything is uploading fine.
As far as the difference between the two upload paths, that is normal as the upload path in the WP site options only needs to read:
wp-content/blogs.dir/8/files
…because WP auto-generates the remaining folder structures (like /2011/10) based on what the date is.
Hope this helps.
Forum: Networking WordPress
In reply to: Images Broken In MPMUNevermind, I figured out how to edit my .htaccess file and everything is working.