adnan0777
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts in Sidebar] Custom post type from custom category not showingHello aldolat,
Sorry for late reply but I had been busy. Your solution worked perfectly! Thanks. ??
Regards.
Forum: Plugins
In reply to: [Default Featured Image] Exclude featured image on all pagesHi
I was looking for solution of a similar problem and this worked for me. I needed to exclude all default WordPress pages so I added this function in my child theme’s function.php:
function dfi_posttype_page ( $dfi_id, $post_id ) { $post = get_post($post_id); if ( 'page' === $post->post_type ) { return 0; //invalid ID } return $dfi_id; // the original featured image id } add_filter( 'dfi_thumbnail_id', 'dfi_posttype_page', 10, 2 );
Just changed ‘post’ to ‘page’ and got it working. I also tried with custom post types e.g., ‘custom_post_type_name’ in place of ‘post’ and that worked too.
Forum: Plugins
In reply to: [Yoast SEO] Proper title template for post typeIt is resolved. I am adding %%sitename%%
Forum: Plugins
In reply to: [Yoast SEO] Should I include tags and categories in the sitemap?Great explanation neotrope. ??
Forum: Plugins
In reply to: WordPress backup pluginHi joe,
Thanks for your explanation. I also asked in some Facebook groups about the best backup plugin and most of them recommended updraft plus. I really like the UI of the plugin. And it is easy to use too. At this point I have decided to create a scheduled backup with UPdraftplus. I will also backup through cPanel occasionally and save a local copy for extra precaution.Forum: Networking WordPress
In reply to: How to track all the sites of multisite with google analytics?Well you are right. But I was not looking for GOOGLE experts, I was just looking for WordPress experts who use google analytics. Anyway, I got my solution.
Forum: Networking WordPress
In reply to: How to track all the sites of multisite with google analytics?Thanks for your reply. Question still remains. Use same GA properties or different GA properties for the sites of a multisite network? How this will make the difference?
Looking for some expert’s opinion.
Forum: Plugins
In reply to: [Yoast SEO] Clash between WordPress site title and Seo Title of front pagePS. I am using seperate blog page and homepage by the way.
Hi ajamm,
First you have to create a page named ‘edit’ or something like that and then you have to put the short code [wpuf_editpost] in that page. After that, go to WP User Frontend settings from the wordpress dashboard. Go to the ‘others’ tab. Look for the option, ‘user can edit post?’ select ‘yes’ or ‘no’ from the drop down list. Look for the option ‘edit page’ and then locate the edit page there (select the page where you used this short code [wpuf_editpost]). After that save the changes. If you follow the steps accurately then users should be able to edit their post from the front end. Hope that helped.
frontend user editing option can be turned on or off by changing plugin settings in the dashboard.
Forum: Everything else WordPress
In reply to: Track Multiple WordPress website with Google AnalyticsNice question, one solution would be putting one property code to every websites to track them together but that is inconvenient. There might be some system to see all property data of google analytics together if they are under same analytics account. Different sub domains of a website can be tracked using different profiles under a property but, not sure how to track all the properties together. I am looking forward to this thread too.
Marking this as resolved.
The new version of the plug in solved it all. Thanks a lot.
Thank you very much mike for replying. The contact form works. No error messages either. Should it show a confirmation message after form submission if there were no Plugin conflict?
Thanks,
AdnanHi, I used this code snippet to redirect users to my desired page after they submit their posts.
function custom_redirect( $url ) { global $post; return get_permalink( $post->ID=8); } add_filter( 'wpuf_after_post_redirect', 'custom_redirect' );
But instead of implementing this code to the theme’s function.php file, I had to implement this to wpuf-functions.php of the plug in file. Here 8 could be replaced by your desired page or post ID number. In my case, 8 is the page ID of Dashboard page of users.