I tried to do this on my site: http://www.templatemonster.com/help/magento-listing-sub-categories-on-a-category-page.html
All steps got done correctly but nothing is showing on my site. My main site is inside /app/design/frontend/NAME/default/ ....
Is there something I have to change on the code given on that site? Or if you have any better idea to make this work.
Thank you
Related
I have a WordPress site where I am using a purchasaed template and woocommerce for the shop. The problem is on the shop page the right bar gets pushed down. When I enquired about this issue from the developers of the template I was told to purchase shop beginner kit for the problem to fix.
That doesn't make sense to me, there must be a way to put the right bar properly to the right on the shop page when it is working fine on the other pages by editing either the PHP or CSS.
I tried editing the quick css, however, all it did was from the bar from left side to right side, however, it still stayed below.
Would appreciate any direction that someone can give as to which php to edit and how to go about it, my WordPress knowledge is at beginners level.
The page in questions would be
http://needlestosaymore.com/product-category/house-warmers/
one needs to edit archive-product.php page accordingly to make the changes which is found in the woocommerce plugin folder
I got my own created template in Wordpress. I got two pages : index.php and ab.php. My question is what should be a proper link code that links these two pages in menu? Because I always get 404 page or index.php page or blank. I try'ed everything including saving permalinks.
Here are a few of my examples:
http://example.com/?p=ab
http://example.com/?p=ab.php
<a href ="ab.php">
etc.
My guess is that this is your first WP theme.
If that is the case I should tell that the hierarchy from pure php websites won't work. Check this https://developer.wordpress.org/themes/basics/template-hierarchy/ WP uses the wp-admin part for creating new pages.
If you are switching from php to WP, I think I can help a bit by giving few pointers.
If there is an issue with your project I can't quite get what is happening but if you call http://example.com/ab.php the php inside will run however it's not cool to reference pages that way in WP.
I need to make a site for a friend of me in WordPress.
Maybe you can help me with this thing.
my problem is that I need to make a menu with a few pages inside, what I did correctly.
Now is the part coming what my question concerns.
I need to make a page which sends you directly to a website. How do I do this?
Do I need to make a code inside the page?
Do I need to make a code inside the menu or something?
I don't know how or what to do. So I didn't try anything, because I don't know how.
Thank you in advance,
Banana
You can directly set external website link using add link into menu. This configuration available in wordpress backendside.
Go to : appearance -> menus -> links
I'm looking to do something with a website I'm working on. This is my first time using Wordpress, and I've got most of the things I need to work running fine.
However, I'd like to create another page on my website that can display loop posts that is formatted completely different from the normal index.php file.
For example, index.php has it's own loop, and acts as the website homepage. The second page would be called roster.php, and has a loop that displays and formats posts from a specific category of posts. If this is possible, where would I create the roster.php file, and would it still work properly with my Wordpress installation?
I've dug around the Wordpress Codex, and done several Google searches on this subject, but I can't seem to find anything similar to this scenario. Or maybe I've just misunderstood them all.
I really appreciate your time reading this post, anything you can contribute would be extremely useful to me.
Thanks again, Callum Kerr
You can create a page roster in wordpress and a page-roster.php in your template directory. Wordpress will automatically route the page to the php file.
You can then do a custom search & loop in page-roster.php
page-roster.php should do the trick!
Check this for more info: http://codex.wordpress.org/Pages#What_Template_is_Used_to_Display_a_Particular_Page.3F
You can create custom Templates for your pages, posts and even categories, this Codex Page may help you with examples on how to do it.
Hey guys, I'm trying to use my wordpress categories as subdomains without using a plugin because the only working plugin doesn't seem to work with the new wordpress.
So I created the subdomains and I'm searching for a way to let this category1.mysite.com to show the content of www.mysite.com/category/category1 without redirecting.
but my question is how to edit the links manually for www.mysite.com/category/category1
when someone goes to my site the theme shows links this way www.mysite.com/category/category1
instead of showing the subdomain, so what files or database table should I edit to change the way my theme shows the links of categories and subcategories ?
and also if you have a way to to the first step in the .htaccess file please tell me about it.
and thank you very much :D
Look into get_categories() function - this will return an array so you can do the following
foreach(get_categories() as $category) {
$url = $category->category_nicename.'.mydomain.com';
}
from this you should be able to build your own UL with the information.
It seems like you will need to use Apache's Mod_Rewrite feature in a way that is not standard with WordPress permalink features.