Adnan Moqsood
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Taxonomy Ordering] Name tab > Sorting is lostI was also facing the same issue, but I did modify the plugin code into
functions.php
and now everything is working fine for me.// Set Default Order for the Admin Selected Taxonomies add_action( 'init','ct_jobs_front_end_order_terms'); function ct_jobs_front_end_order_terms() { if (is_admin()) { add_filter( 'terms_clauses', 'ct_jobs_set_tax_order', 10, 3 ); } } // Set Order Function function ct_jobs_set_tax_order( $pieces, $taxonomies, $args ) { foreach ( $taxonomies as $taxonomy ) { if ( ct_jobs_is_taxonomy_ordering_enabled( $taxonomy ) ) { global $wpdb; $join_statement = " LEFT JOIN $wpdb->termmeta AS term_meta ON t.term_id = term_meta.term_id AND term_meta.meta_key = 'tax_position'"; if ( ! ct_jobs_does_substring_exist( $pieces['join'], $join_statement ) ) { $pieces['join'] .= $join_statement; } $pieces['orderby'] = 'ORDER BY CAST( term_meta.meta_value AS UNSIGNED )'; } } return $pieces; } // Check if the taxonomy is selected in plugin setting function ct_jobs_is_taxonomy_ordering_enabled( $tax_slug ) { $option_default = array( 'enabled_taxonomies' => array() ); $option = get_option( 'yikes_simple_taxonomy_ordering_options', $option_default ); if ( isset( $option['enabled_taxonomies'] ) ) { $option = array_flip( $option['enabled_taxonomies'] ); return isset( $option[ $tax_slug ] ); } // Return false if the option doesn't exist. return false; } function ct_jobs_does_substring_exist( $string, $substring ) { return strstr( $string, $substring ) !== false; }
- This reply was modified 3 years ago by Adnan Moqsood.
Forum: Developing with WordPress
In reply to: Hide content between header and footerI am using the
the_content
filter which is fine but I can not hide the metadata using this filter can you please tell me about that specific filter by using this we can achieve the required result, I want to hide everything between the header and footer for some reason and show a form instead is it possible if yes then how please tell me more?Thanks in advance.
- This reply was modified 4 years, 2 months ago by Adnan Moqsood.
Forum: Developing with WordPress
In reply to: Hide content between header and footerI want to make a plugin for this purpose, so I don’t have the template files access.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportHi @gilliancheah ,
You need to contact with the website developer or designer (UI Engineer), he will update the theme styles to resolve this issue.
Thanks.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportHi @gilliancheah,
I have checked the website and tracked the issue, actually we are using the bootstrap grid structure for Team Master, and your website is also using the bootstrap that’s why its causing some issues, you just need to override some styles in your theme style.css, then everything will work.
I will update the Team Master plugin as well to deal with this issue.
For now you need to contact UI engineer for fixing the styling issues.
Regards,
Team Master.Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportSure, Let me check.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportSure, Please share the details when you are available then i will check the issue.
Thanks.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportHi @gilliancheah,
Yes, we can coordinate and test the things between (4PM to 8PM) your time and then hopefully i can fix plugin conflict.
Thanks
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportCan you show me by activating the plugin on your website then I can provide you a solution after tracking the issue.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Need supportHi @gilliancheah,
Thanks for using the Team Master.
You just need to create and attach a role with the team members then surely it will work.
See the screencast: https://www.screencast.com/t/2n6nBxXIK
Please do let us know if you have any questions?
Regards,
Team Master- This reply was modified 4 years, 10 months ago by Adnan Moqsood.
Forum: Plugins
In reply to: [Team Master - A Modern WordPress Team Showcase] Team Master multi-languageHi @wiffwam,
Thanks for using Team Master.
For me its working fine, please follow the guideline and let me know if you are good with that.
1. First you need to allow the members custom post types to use the polylang url structure: https://www.screencast.com/t/oWzelbcvOu
2 – Then create two members one for english version and second for french like i did in this screenshot: https://www.screencast.com/t/1gxROxm7u0YF
3 – Create two pages again one for english and other for french with the team master shortcode like i did: https://www.screencast.com/t/auaToI5q
That’s it you can view the both pages you will see the english team member on the english page and french team member on the french page.
Like: https://www.example.com/fr/team/
Like: https://www.example.com/team/Like: https://www.example.com/tm_members/adnan-moqsood/
Like: https://www.example.com/fr/tm_members/software-engineer/Let me know if you have any questions.
Regards,
Team MasterHi @bentibosaku,
Can you share your website URL for further investigation?
Forum: Developing with WordPress
In reply to: Custom taxnomy pagePlease try after saving the permalinks.
Forum: Fixing WordPress
In reply to: Darken the background overlay in GalleriesTo Fix the CSS,
.mfp-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 9042; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 1; }
To add or override CSS: use the “Additional CSS” option in the customizer. https://codex.www.ads-software.com/CSS#Custom_CSS_in_WordPress
Learn to use the Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS.
Regards,
Adnan