Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter MediaDC

    (@mediadc)

    Hey Jonathan,

    I finally got the dev branch up on my prod site this evening, and everything looks to be ok so far. Pages are loading as expected and I’m not seeing any PHP errors right now, but traffic is also very low at this time of night on the East Coast. I’ll be watching it through the day tomorrow and will update to let you know how it’s working.

    Thanks!

    Thread Starter MediaDC

    (@mediadc)

    The problem really seems to be here that there’s a query on line 432 of the includes/query.inc file that’s pulling all of the meta keys in my postmeta table, and there are a lot in my database. The problem is that this query is pulling them on every single page on the site.

    What’s the reason why the plugin needs to pull every single meta key on every single page?

    Thread Starter MediaDC

    (@mediadc)

    Jonathan, your addition of the Callback field did the trick! Using this field allowed me to reference a very brief function I wrote in my functions.php file that called directly to the necessary CoAuthors functions. The end result gave me the coauthors with links to their profile pages, as I desired.

    Thanks again!

    Following up on the custom solution you implemented for my request, allowing a manual choice of widget template when configuring the query.

    Thread Starter MediaDC

    (@mediadc)

    Jonathan, this did the trick! I can now create queries with whatever names I want, and specify their templates in the theme’s functions.php file using further “if ($meta[‘slug’]…” statements.

    It seems that now that this is operating via apply_filters in the functions.php file, it might also be possible for me to change the widget’s template on the fly depending on what page I’m on. For example, if I was on the “Politics” page, I might want to change the template of the “Politics” QW widget in some way, i.e. changing the background color. It seems I could do this very easily through the functions.php file with an overriding if statement.

    I think this has given the template functionality of the plugin much more flexibility. I look forward to further releases that incorporate this more directly into the UI.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)