I recently uploaded my website online and following that, I want to edit a few new things but as shown in the image above, the page has no style. The wordpress theme I bought is heavily relying on templates and the only way to edit them is through the customizer but I am trying to look for a solution and seem to find none, is there anything that can be causing this? I deleted all plugins that are not needed incase it was some plugin breaking it but that does not seem like the case.. any help?
sidenote: in the localhost the customizer works fine, its just that when I published it online when this issue has occured.
First of all, thank you for bothering to read this topic, I feel like this is going to be a long and painful one, as I'm trying for about 7-8 hours now to get what the hell is happening with this plugin.
I am a developer, so I know what I'm doing, and this isn't my first page I did using WordPress.
The problem started when I started reading up on woocommerce's documentations which are widely known as quite poorly documented.
Since I made a custom theme, which I have had before already, I've decided to use the overwrite method as well as the woocommerce.php method for customizing the plugin to fit the site as I'd like it to.
The woocommerce_content(); is customized now, and nicely working as well as the product pages (single product page) which are customized as well, and working.
As soon as I try to access the account features, nothing happens. I've tried adding echoes for debugging purposes to the my-account.php, but it does not echo what I write, so I assume the shortcode cannot load for some reason, because it does not reach the my-account.php page as it should, and it points somewhere else perhaps?
Then I've noticed that when I click the "Add to cart" button, it appends the element with a "View cart" button as well, so me thinking this is working, I left it as it is. For like 5 seconds, because right after a page refresh, or navigating to another page, the content of the cart gets empties, I cannot even see the cart page, nor the login page, nor the create account page, or anything in fact.
Everything is working that is inside my "wp-content\themes\mytheme\woocommerce" folder, but nothing else that is inside my
"wp-content\themes\mytheme\woocommerce\any-subfolder"
The woocommerce system status does not show any error, nor the PHP error log, nor anything else.
I have a VERY long list of "Overrides (WooCommerce):" which I don't want to paste here because of reasons.
The only success when I was able to at least get something out from the plugin, is when I used the wordpress function "do_shortcode();" and added the myaccount or cart shortcode myself to a page, THAT worked, and printed it out, however I'd like to use the original method, so the code won't get too complex for later on.
Every other site is working fine, I'm currently running this on localhost, cookies working, sessions working, I log everything yet there is no error, mod_rewrite working correctly, yet I am stuck.
Looking for a patient gentleman to help me on this painful day...
EDIT:
Added "[woocommerce_my_account]" to the "shop" page which page's file is the "woocommerce.php" has actually loaded up the correct my-account.php from "themeroot/woocommerce/myaccount/my-account.php" It echoes out my debug messages as well, so the shortcodes should be working, perhaps this isn't just a woocommerce related issue?
EDIT2:
After fiddling around a LOT, I've come to understand that the wrapper hook it is supposed to do (div id=content and div id=main) does NOT get hooked in it, perhaps it is just a small problem, since I've removed them with remove_action, and the "Shop" page still displayed properly... I have NO idea what is going on with this plugin, but I don't have the luxury of time to fiddle around with it... This is such a pain...
EDIT3:
The plugin works perfectly on any other basic theme, so there is something up with my custom theme. Even after hours of searching the differences between the default theme (twenty-fifteen) and mine, I have not found the solution.
I have solved the problem... It is of course entirely my fault, the problem is just that woocommerce has so poor documentation, I did not really thought about this.
For anyone out there creating custom themes for WordPress, please note that in order for your page.php to actually use the shortcode of the page you have navigated on, you must print out the content of the page (the_content();).
This was my solution for my mistake that took many many hours...
I created a webpage in Standard HTML and CSS and everything looks / works exactly how I want it too.
Now I need it to appear as it is on a wordpress site (http://www.texasenergyessentials.com/). I already created a template page and can see it in the template select in the wordpress "add new page" window. I was hoping I could just select the template and leave the text editor blank but that doesn't seem to be the case. All I get is a completely un-formatted page that says welcome guest.
What is the easiest way to get https://gist.github.com/anonymous/8545681 to work on the aforementioned wordpress site? ?
Thanks!
P.S. Please don't link any codex files I just spent 2 hours digging around in them :(
Try to read and understand how http://codex.wordpress.org/The_Loop works
Install this theme https://code.google.com/p/wordpress-naked/ and try to work your way to the desired theme by editing theme files. That will be much easier.
Maybe the problem can be understood by reading the template hierarchy:
http://codex.wordpress.org/Template_Hierarchy
(especially check the visual overview)
If you name your file page-[insert-page-id-here].php Wordpress will use it for the page you've created. Get your page id by editing the page and looking it up in the url.
I am new to Word Press and I have been assigned to change something at work in our homepage.
I am always worked with raw HTML/CSS/php files, so I am a bit out of place here.
The page in question is the following: GAN Integrity Solutions Products
Inspecting the html I found where the CSS is (in the theme folder).
If I go in word press under pages, and I choose Products (which is the page I want) there is not content in it even in the text or visual editor. (but the page does indeed have content)
I installed the plugin called "Always edit in HTML" but it only removes the Visual tab and does not really replace it with the HTML tab (like I have seen a friend of mine has).
Also I am currently using WP v. 3.7.1 and I have not update because I still had to learn what happens when one updates (does it screw up my site? I can't afford to screw it up).
Anyone have any idea of what I am doing wrong or how I can solve this?
Btw the different "products" are created individually under "Portfolio" but what I would like to edit is that first link page html. What I need to do is instead of having pictures in the "squares" and then text as ones mouse over them, the reverse.
I would appreciate it!
Can you try to login in Wordpress?
You should go to pages and search for the product page.
Then check the template part.
Go to your themes map again and search for that template.
Your code should be there.
This is my first comment. Hope it is helpfull.
I'm having troubles getting the official Wordpress plugin for Sublime Video working.
I'm adding in the player to a post using the plugin, the preview within the plugin displays fine and the short code is created and inserted into the post as expected.
The problem comes when I view the actual post - the shortcode is removed but it is not replaced with anything. I've been debugging and it's become apparent that Wordpress isn't executing the shortcode handler.
No PHP or Javascript errors are being reported anywhere and I'm not at a loss as to what could be causing this!
Any help would be much appreciated, and if you'd like to more details just say what and I'll provide them.
Found the solution.
The people who had developed the theme (not me!) were using content() to display post contents rather than the_content() which was causing the issues.