Re: Wordpress On Zencart / Released
Sorry, I really did not understand your answers. I do not wish to offend anyone, I just need clarification. It's me....
if you have your template the correct path is
There is a folder that is named accordingly but only contains a stylesheet "css/stylesheet_woz.css". I see nowhere in the source code where that stylesheet is referenced.
I am using the default templates. Do you mean if I use a custom template to put it in the MY_TEMP directory? The instructions read "PLEASE CHANGE". That means I need to make a change, correct?
if you have zen cart 1.3.8a don't see that
That seems clear enough. Just use the default template in 1.3.8a... right?
then you have to see with default template on WP
So, are you saying the color and alignment issues, as compared to the screenshots in the readme, are due to the default wordpress template? I will have to edit the default wordpress stylesheet to make my install look green like the screenshot in the readme? No problem, that is easy but, I was under the assumption that after a correct install, my site should look like the screenshot. Am I wrong?
Thanks for your fast help. I have been using Zencart for years. Never tried to implement with Wordpress though. Looking forward to Zencart 2.0! Hope the two will still shake hands or the Wordpress plugin will be revised to work with Zencart 2.0.
Thanks again...
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
kiddo
Your understanding of WP is much better than mine so I can't say about the code you show, but in my opinion (and I'm sure I will get flamed for this) is that additional SEO modules that tinker with and re-write URL's are more a pain than they are worth and only (when they work) make things pretty for people and not the machines that index and rank your site.
Personally, I would dump the SEO mod(s) and let the software work as it's designed to do and instead focus on writing compelling content and make your shop full of nice things for your customers to buy.
I've had no trouble getting first page google rankings on many of my keywords just using the out-of-the-box meta tag tools and good content.
If you want to banter about the virtues and pitfalls of SEO there are a number of other interesting threads debating this with compelling arguments on both sides.
sorry but I don't understand very well because I'm italian, so english I know but not perfect.
Waiting this mod will go also with simple seo url, it is possible to insert only a post in main page?
Please if you know how can I do, you do at me a courtesy.
:smile:
Re: Wordpress On Zencart / Released
Ok, I figured it out, I think...
It seems I must add the css in the sylesheet_woz.css to the end of the stylesheet in the default stylesheet. After I appended the css, the sidebox contents aligned properly.
The instructions really do not mention that at all. There was a rem in the stylesheet that gave me a "clue".
Seems to be fine now. Now to ammend the default WP stylesheet to match Zencarts styles.
Thanks for the tips.. You got me on the right track..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
NorthPoleWholesale
Sorry, I really did not understand your answers. I do not wish to offend anyone, I just need clarification. It's me....
if you have your template the correct path is
There is a folder that is named accordingly but only contains a stylesheet "css/stylesheet_woz.css". I see nowhere in the source code where that stylesheet is referenced.
I am using the default templates. Do you mean if I use a custom template to put it in the MY_TEMP directory? The instructions read "PLEASE CHANGE". That means I need to make a change, correct?
includes/templates/MY_TEMP/
The directory name in bold should match the name of your template's directory
The complete answer is a little off topic for this thread.. If you are new to Zen Cart I suggest you read this thread to get a complete understanding of how the templates work:
https://www.zen-cart.com/tutorials/i...hp?article=142
I know people hate it when folks suggest reading something in order to get an answer, but in this case this is a good article to help explain the answer to your question.. Understanding this article will help you understand how/why you need to change the directory name as per the WOZ install instructions.
I'm gonna keep this next part brief because as I previously stated it is a LOT off topic for this thread.. Really briefly, you should not be using the default template AT ALL. In my opinion you should not use the Classic template either.. The classic template is a great baseline template to use when you need to determine if a mod or change you made has created an issue.. Switching to the Classic template can help with that kind of troubleshooting.. You should be working off of either a custom template you create or one of the available Zen templates.
Quote:
Originally Posted by
NorthPoleWholesale
if you have zen cart 1.3.8a don't see that
That seems clear enough. Just use the default template in 1.3.8a... right?
It means if you are using Zen Cart 1.3.8a, that this part of the instructions does not apply to you.. If you had done a find and replace on the template-loader.php, you would have seen that were are no "exit"s to replace.
Quote:
Originally Posted by
NorthPoleWholesale
then you have to see with default template on WP
So, are you saying the color and alignment issues, as compared to the screenshots in the readme, are due to the default wordpress template? I will have to edit the default wordpress stylesheet to make my install look green like the screenshot in the readme? No problem, that is easy but, I was under the assumption that after a correct install, my site should look like the screenshot. Am I wrong?
Thanks for your fast help. I have been using Zencart for years. Never tried to implement with Wordpress though. Looking forward to Zencart 2.0! Hope the two will still shake hands or the Wordpress plugin will be revised to work with Zencart 2.0.
Thanks again...
Yes, and if you are seeing ANY of the default WordPress template, it means that you have likely not installed the WordPress files from this mod correctly. The mod's files provide basically a clean WordPress template (minus background images and colors) which is why it will blend in with your Zen template with very little modifying afterwards.. You may make a few style tweaks to WordPress, but for the most part you really don't have to..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
giuly
Can I only insert a post on main page?
I have tried this code on main page , but I don't see the post
<fieldset>
<legend>Latest Post</legend>
<?php
$posts = get_posts(‘numberposts=5‘);
foreach($posts as $post) :
setup_postdata($post);
?>
<a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a>
<?php /*the_content();*/ ?>
<br />
<?php endforeach; ?>
</fieldset>
please...
in this mode I see only the post and blog remains separated, in way to not conflict with simple seo url?
Thank you in advance
:blush:
Show wordpress posts on main page of zencart..
Post following code into define_main_page.php
Code:
<?php
require('./wp-blog-header.php');
?><?php
$posts = get_posts('numberposts=2'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_date(); ?>
<?php the_content(); ?><hr />
<?php endforeach; ?>
Alter 2, marked red, to number of posts to show..
:smile:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
NorthPoleWholesale
Ok, I figured it out, I think...
It seems I must add the css in the sylesheet_woz.css to the end of the stylesheet in the default stylesheet. After I appended the css, the sidebox contents aligned properly.
The instructions really do not mention that at all. There was a rem in the stylesheet that gave me a "clue".
Seems to be fine now. Now to ammend the default WP stylesheet to match Zencarts styles.
Thanks for the tips.. You got me on the right track..
You actually could have just uploaded the sylesheet_woz.css to your template's CSS directory too..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
giuly
sorry but I don't understand very well because I'm italian, so english I know but not perfect.
Waiting this mod will go also with simple seo url, it is possible to insert only a post in main page?
Please if you know how can I do, you do at me a courtesy.
:smile:
I do not know if this is what you are looking for but, I am very familiar with Wordpress.
In wp-admin panel go to Settings/Reading area. There you can select what shows up on your front page and/or how many posts.
As far as SEO plugins, wait until your site is all done. Check out your competitors meta and possibly analyze with some reputable software like Web Position. Check yours out with Web Position too. Many people mess up their sites indexing by trying too hard. A good xml sitemap and robots.txt file is also a plus.
Wait until your site is established and optimized, then work on positioning. The rules seem to change every few months anyhow.
With this WOZ plugin, we may even have to alter the htaccess file a bit. I have not even tried permalinks and cache yet.
As mentioned previously, make a good site with relevant content first, then worry about "advertising". (Make the product before selling it)
Most of all HAVE FUN! :cool:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
You actually could have just uploaded the sylesheet_woz.css to your template's CSS directory too..
AHHH YES!! I totally forgot that Zencart automatically reads all the files in there! DOH!!!! :lookaroun
Thanks for all the help folks!!
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
NorthPoleWholesale
AHHH YES!! I totally forgot that Zencart automatically reads all the files in there! DOH!!!! :lookaroun
Thanks for all the help folks!!
It's all the free beer going to your head!!:laugh::laugh: Cool blog..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
It's all the free beer going to your head!!:laugh::laugh: Cool blog..
Well, going to my gut yes, no hope for my head though... I can exercise to help my gut. :flex: THNX! :D
Before I continue though, I am gonna re-install it all in the same directory. The advantages outweigh the extra work to keep them seperate... I am sure I will run into index.php issues but, I noticed lots of info previously in this thread that will prob answer my issues.
Thanks again all..