Hakkim P Ahammed
Forum Replies Created
-
Forum: Plugins
In reply to: Woo-commerce – Is there any proper hook available for apply coupon event?Thank you tuesdave for your reply.
Nice to see sombody has replied to my post at least half year later ?? I have done that task using some other method. But still my question is open, please let me know if you get any idea.Once again Thank you tuesdav. Cheers!
Forum: Fixing WordPress
In reply to: Custom taxonomy template for multiple custom post typesThat's it very basic. What you are asking for is relatively complex but that should give you a start :)
Thumbs up!! ?? , I know this is bit complex, and that already gave me a start, but unfortunately I could not reach the required result. This thread explains it quiet simply too.
Still I am looking for a solution. Hope sombody else can help us.
Forum: Fixing WordPress
In reply to: Custom taxonomy template for multiple custom post typesDear Rhys,
Thank you for your reply.
You are saying about custom post type template, but I need custom taxonomy template. taxonomy-place.php is okay, but there how can I distinguish what to load currently, hotels, schools or hospitals? If I need to show hotels of particular place, how can I do that? How the URL will look like?
The URLs I have given is just an example, I dont need exactly same as I mentioned.
Forum: Plugins
In reply to: Woo-commerce – Is there any proper hook available for apply coupon event?Any help please?
Forum: Everything else WordPress
In reply to: Text & Visual Editor wont workMay be javascript conflicts.
Try pasting this code define( ‘CONCATENATE_SCRIPTS’, false ); in your wp-config.php file and check again.Forum: Everything else WordPress
In reply to: $50 prize. Pl help. Line breaks not workingTry using tinymce advanced plugin, there is an option to ‘Stop removing br tags’
Dear 2ninerniner2,
Yes, you’re right. I didn’t remember the contents and files inserted to the content. Thank you for reminding me and I hope hc4zrr324 will consider that too.
Here it is.
1. Take a back up of both DB and complete files from your local host (just to be safe).
2. Create a DB in clients server.
3. Move all files from localhost to client server root folder (or any folder as per the requirement) using FTP or control panel which one is available. Also import the local DB dump to clients server DB.
4. Change settings in wp-config.php file as per the clients DB details. That is change DB name, username, password and hostname. Host name is normally ‘localhost’.
5. Update ‘home’ and ‘siteurl’ fields in ‘wp-options’ table with new sites url.That’s all, you’re done!!!
If you don’t have access to client’s server, share your DB dump and files with the client and ask them to do from step 2 to 5.
Try this!!! Good luck.
First of all you should arrange your contents properly in admin side. As you said you have already created contents as pages, you can use tags.
Categorize pages by tags
1. Categorize by tags :- This would be easier for you. Just create tags like C++, .NET etc and add them to corresponding pages. If tag option is not available for pages in your site, just do this https://www.sitepoint.com/wordpress-pages-use-tags/
Once after created the tags and assigned them to contents properly, paste the code from https://www.wplover.com/2112/create-a-dropdown-list-of-tags/ in your template file header or sidebar or footer, that creates a dropdown box of tags, and that will filter your contents accordingly. Try it! Good luck!Forum: Everything else WordPress
In reply to: Products showing as postsI think, there is an option to create a post of a product while adding a product. Please check the product settings.
Forum: Everything else WordPress
In reply to: Need to restrict some things to usersYes! you can put few lines of codes in your functions.php files to restrict current logged in user’s privileges, as per the user role.
Hope this will help
https://wordpress.stackexchange.com/questions/1482/restricting-users-to-view-only-media-library-items-they-have-uploaded
https://www.wpmayor.com/how-to-remove-menu-items-in-admin-depending-on-user-role/
https://wordpress.stackexchange.com/questions/9505/hide-admin-menus-per-role-in-wordpressHi Tom,
Before building an option to filter your contents, you should specify how the contents are currently created and managed in admin side. That is,
1) Are they posts or pages?
2) If posts, are they categorized like .NET, C++ etc.
3) If pages, are they assigned as sub pages of parent pages .NET, C++ etc.
4) Are you using tags to specify the languages?
5) Are you using any custom fields to categorize your contents?To filter the contents in front end, you must use at least any one of the above methods. That is, .NET, C++ etc should be categories or parent pages or tags. All contents should be correctly assigned to them accordingly. Then we have solutions. Please explain your side.
Forum: Hacks
In reply to: Add additional fields to menu settingsAny comments? please.
Forum: Everything else WordPress
In reply to: Best contact forms for multiple users?Try contact form 7 also.
Forum: Fixing WordPress
In reply to: Insert into post – issue with media uploaderThank you esmi, let me give it a try.