praveen_khm
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] How to disable caching for logged in link or widgetThanks for the response. It still does not work. These are the things I have done:
Added the below code in wp-config.php
define('W3TC_DYNAMIC_SECURITY', 'mysecurestring');
In Header.php, I have added this.
<!--mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> --> mytheme_extra_hotline(); mytheme_extra_cart(); mytheme_extra_account(); echo(rand(10,100)); <!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
Since I am using a shared hosting, changed Disk Enhanced to Disk Caching method and enabled “late initialization” on the Page Cache settings page.
Added “mfunc” and “mclude” to Ignored comment stems under minify.
Whatever I did, it still did not refresh the code within mfunc. Lastly, I changed Expires header lifetime to 10 seconds and now it updates. However, the complete page is refreshing every 10 seconds.
Is there some setting I am missing?
Thanks,
PraveenForum: Themes and Templates
In reply to: Creating Custom menu Links and Custom PagesAny help here??
Forum: Themes and Templates
In reply to: Categorywise ThemeThanks a lot. This is exactly what I was looking for.
Let me try this code (might end up with 16-18 if statements). I am sure there is no particular limit in wordpress for the number of ifs and elseifs.
Thanks again fwoan.
Forum: Themes and Templates
In reply to: Categorywise ThemeThanks for the reply fwoan. Let me explain the problem. I have a free theme I am using and in admin panel, it already has options to create menu and submenu’s. Now if I follow your suggestion, should I discard the theme’s admin options altogether? The reason I am asking is the categories might change in future (might add, rename, or delete categories). Is it better to create a new theme from scratch in that case (since trying to edit the parent theme seems like it breaks).
Forum: Themes and Templates
In reply to: Porting from website to wordpressyou can change permalink structure so “year” isn’t part of the structure.
Pages can have parents, so you would just created a page for each “folder”. Instead of leaving it blank, you might want to add links to all the pages in that “folder”. Alternatively, you could just install a subpages plugin to dynamically display the list of subpages for each folder page.Thanks for the response. I feel I am little confused with the answer. Suppose I have a folder by name “Book” under root folder. What I need is a page with url “…/Book/Book.php”. Now there are many folders within Book and each of it has a php page. The structure would be “../Book/Pages/page.php”. Is this feasible?
If yes, how can I achieve it? Manually create folders within root folder and then in permalinks add this address? Or create a page somewhere and manually move them from that location to this location? Excuse my ignorance, but I am very new to wordpress and been working like this with html all these days.
Forum: Themes and Templates
In reply to: Porting from website to wordpressBump…
Forum: Themes and Templates
In reply to: Help with sidebarcan somebody at least confirm that this is not possible please?
Forum: Themes and Templates
In reply to: Help with sidebaranyone to help please?