Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    How to ignore a specific blog.

    https://wpmututorials.com/plugins/turn-off-sitewide-tags-on-special-blogs/

    Also can this be limited to certain post types?

    Is it copying all post types in your install?

    Thread Starter stoi2m1

    (@stoi2m1)

    Yes, I may have at some point added some code to include custom post types. If thats the case I will look for that code and exclude the post types which shouldnt be indexed.

    Jesse

    Thread Starter stoi2m1

    (@stoi2m1)

    I have another question. I am tracking number of plays of a song and the times with custom fields. I have a custom field called listen and a custom field called listen_time. There are many listen_time records in the post_meta table. When I update the post to populate the index with the custom fields it only captures the first one of a particular meta_key. Is this the expected result? How can I get all custom meta fields even with the same meta key to populate into the index?

    I have plans on querying the index for different time frames for listing different results. But with only one result this isnt going to do much.

    Thank You,
    Jesse

    Plugin Author Ron Rennick

    (@wpmuguru)

    it only captures the first one of a particular meta_key. Is this the expected result?

    It copies the meta at the time the post is published. The plugin does not and isn’t designed to live update post meta. You’ll have to write you own plugin to do thast type of update.

    Thread Starter stoi2m1

    (@stoi2m1)

    Im marking this closed since I have the answers I was looking for, thanks…

    Im thinking it might be better to just make a separate table for tracking listen times. My issue is I dont know SQL that well and trying to join the results of one query with the results of another are just out of my league. I have however found a way to use WP_Query to do what I wanted. Maybe its time I buckle down and learn SQL and use my own custom table rather then adding an extra load on my server since in order to move data to the index every time there is a update_post_meta() I would also have to run update_post().

    Thanks For the Info and the Awesome Plugin,
    Jesse

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Couple of Questions’ is closed to new replies.