开发者

From where wp ecommerce is loading plugin theme files?

I updated my checkout page by updating mostly the file which was in ....wp-ecommerce/wpsc-theme/wpsc-shopping_cart_page.php

It worked fine for a while, but now some of the changed states reverted to the previous state. Actually, I can even delete the file that I mentioned above, so it means wordpress is loading thi开发者_运维问答s file from somewhere else. Any ideas from where and what had happened? Thanks for your help.


Although I don't have a specific answer to your question, if you use an IDE (like Dreamweaver or Eclipse) you could grab a copy of your sites code to your local PC and do a code search for something that is unique to that page.

Ie, if there is a <div class="a_unique_div"> tag somewhere on that page and you know it's only visible on that page, search the code for that and it may give you a clue what file is being used for the output. Even if it's only used on 1 or 2 pages it may bring you closer to working it out.

Alternatively, if you have SSH access you could try and "grep" for the code by SSHing into your server and running a command like:

grep -i -R '<div class="a_unique_div">' /www/your_wp_folder/

(where /www/your_wp_folder/ is the path to your WordPress installation)

Though for this you'll need SSH access, grep installed on the server, etc, so it may not be a viable option.

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜