000000000
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 707 Permissionsthanks!
Forum: Fixing WordPress
In reply to: Posts showing in website but *not* in phpMyAdminokay forget that! turns out my database was on another account on my reseller (but with a very similar db name).
Forum: Plugins
In reply to: [Dynamic Featured Image] Set Image Sizesah never mind actually, I solved it with this:
– https://www.ads-software.com/support/topic/accessing-add_image_size-in-functions?replies=3Forum: Plugins
In reply to: [The Events Calendar] List All Categoriesah never mind, found this after a lot of googling:
Forum: Plugins
In reply to: [The Events Calendar] Exclude Custom Taxonomy…I should also point out, I’d rather avoid using the default Events categories to achieve this as I’m already using them to categorise based on locations
EDIT: I can’t seem to exclude a default category either, still shows up in the query:
<?php $args = array( 'posts_per_page' => 4, 'eventDisplay' => 'all', 'category' => -6 ); $events = tribe_get_events( $args ); ?>
Nor can I exclude an event based on its ID:
$args = array( 'posts_per_page' => 3, 'exclude' => 21 ); $events = tribe_get_events( $args );
Forum: Plugins
In reply to: [Gravity Forms (nl)] Confirmation Popup?ah silly me! thanks for the link
Forum: Themes and Templates
In reply to: Cannot Set Random Order in query_postsIgnore this, I think it just loaded the same image many times in a row just by chance
Thanks for this. Will this work on a WP Multisite too? I’ve added it to my .htaccess in the root directory.
Do you think I’ll need to do anything else to get it to work across all of the sub-websites? Hopefully not as there’s about 150 of them!
Forum: Fixing WordPress
In reply to: Google Warning 'This Website May be Hacked'I’ve not unfortunately, it’s been like this for quite some time. My client’s client however, not one of my own so to speak. But I’m still trying to resolve it.
Did Google tell you that new files have been generated at all?
Forum: Plugins
In reply to: [cbnet Multi Author Comment Notification] Will Not Send EmailsYup although I’ve just upgraded to 3.8 and still have the same problem.
I have a number of other plugins installed but have just tried deactivating all but yours, still no luck.
One thing I have recently noticed however, is that even when I set the admin email address under Settings > General, even that doesn’t work!
Which leads me to think that the problem must be somehow down to my WP install? or maybe my client’s email account, but that’s with Google Apps for Business (as is mine) so I can’t see there being any issues there
Forum: Themes and Templates
In reply to: wp_title('') showing page title and website name…actually I’ve just realised the reason it’s not doing it on any other pages is because I’m calling
the_title()
on those insteadForum: Themes and Templates
In reply to: wp_title('') showing page title and website nameAhh I hadn’t even thought of that! Yeah I’m using the Yoast SEO plugin, turns out it was that that was adding the name of the website after the page title.
Any ideas why it would do this on the posts page and no others? Or maybe it’s a post best left on the plugin forum itself!
Thanks
Forum: Themes and Templates
In reply to: List Comments From a Different PageThanks!
I gave that a try but didn’t have any luck… but then I noticed my homepage was meant to be set to a static page but it was in fact set to index.php anyway!
After setting it to a static page it seems to work okay.
Cheers anyway ??
Forum: Themes and Templates
In reply to: List Comments From a Different Page…also if it helps, this is a *page* and not a post. Not sure if that makes a difference though!
Forum: Plugins
In reply to: [XPoster - Share to X and Mastodon] Not Tweeting Custom PostsHi,
I’m using the following code to create 2 custom post types:// register custom posts add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'beauty-salon', array( 'labels' => array( 'name' => __( 'Beauty Salons' ), 'singular_name' => __( 'Beauty Salon' ), 'add_new_item' => __( 'Add New Beauty Salon' ), 'edit_item' => __( 'Edit Beauty Salon' ), 'new_item' => __( 'New Beauty Salon' ), 'view_item' => __( 'View Beauty Salon' ), 'search_items' => __( 'Search Beauty Salons' ) ), 'public' => true, 'exclude_from_search' => true, 'menu_position' => 5, 'supports' => array('title', 'editor', 'thumbnail', 'comments', 'author') ) ); register_post_type( 'job-course', array( 'labels' => array( 'name' => __( 'Jobs & Courses' ), 'singular_name' => __( 'Job / Course' ), 'add_new_item' => __( 'Add New Job / Course' ), 'edit_item' => __( 'Edit Job / Course' ), 'new_item' => __( 'New Job / Course' ), 'view_item' => __( 'View Job / Course' ), 'search_items' => __( 'Search Jobs & Courses' ) ), 'public' => true, 'exclude_from_search' => true, 'menu_position' => 6, 'supports' => array('title', 'editor', 'author'), 'taxonomies' => array('listing-type') ) ); }
Could it be down to me excluding them from search by any chance?