mattdu
Forum Replies Created
-
Forum: Plugins
In reply to: [Byline] Getting to the descriptionsThe code needs to be inside a php tag.
To be safe, rather than deleting your old code, you can comment out the old code by placing two forward slashes after the php opening tag but before each line of code, so it might look something like:
<?php //old code here; //more old code (); //last line of old code; //You can add a comment here, to remind you why there is new code below $terms = get_terms("byline"); $count = count($terms); if ( $count > 0 ){ echo "<ul>"; foreach ( $terms as $term ) { echo "<h6>About " . $term->name . "</h6>"; echo "<p>" . $term->description . "</p>"; } echo "</ul>"; } ?>
Forum: Plugins
In reply to: [Byline] Override author field on category list pluginI’ve checked out this theme. The plugin’s widget works just fine, however the theme itself does not display bylines correctly.
You can see it here (screenshot will expire in 30 days): https://awesomescreenshot.com/0ef2jr9if5
This is happening because the theme is using a unique section of code to display the author. To make Byline compatible, I would have to rewrite a portion of the theme’s template tags. You’re better off finding a free theme that is compatible.
Forum: Plugins
In reply to: [Byline] Getting to the descriptionsIgnore the UL and replace with a DIV or however else you want to wrap this author listing. If you use UL then you will also need to add
a LI tag before each H6 and after the closing P tag… you know the drill.Forum: Plugins
In reply to: [Byline] Getting to the descriptionsThat’s a great idea. I envisioned that when I wrote this but have not gotten around to coding that. BUT you’re in luck, I figured it out:
$terms = get_terms("byline"); $count = count($terms); if ( $count > 0 ){ echo "<ul>"; foreach ( $terms as $term ) { echo "<h6>About " . $term->name . "</h6>"; echo "<p>" . $term->description . "</p>"; } echo "</ul>"; }
You can replace the HTML markup for anything you prefer and add class names, etc.
I would drop this in your single.php template or inside whatever handles the display of post-content.
You can see this magic at work here: https://mattdulin.com/tdcx/duis-sed-nisl-aliquam/
Forum: Plugins
In reply to: [Byline] Override author field on category list pluginI just ran a test install with byline and the WP Category List plugin and was able to see the byline displayed instead of the “author.”
You can see it here: https://mattdulin.com/tdcx/hello-world/
I’m not sure why it would not behave the same way on your site. What theme are you using?
Forum: Plugins
In reply to: [Byline] Pulling the same author for all in widgetThat’s a great question. I don’t see why it wouldn’t work as long as the widget is using a typical loop and the standard author display code.
That said, I have not tested the plugin with a widget like the one described. Added to my to-do list…
Forum: Plugins
In reply to: [Byline] Remove link from author name entirelyI don’t have plans to make this an option.
However, it is possible, but would require editing the plugin itself (which will break the next time you update) or me custom writing a plugin just for your needs, which I am happy to do for a reasonable fee. ??
Forum: Plugins
In reply to: [Byline] Link to author's name doesn't workFlushing rewrite rules does the trick. I will add that to the next update to the plugin. You can force a rewrite-flush by visiting the Settings/Permalink page in your WP admin.
Forum: Plugins
In reply to: [Byline] Author meta data has invalid formattingAt first blush I would say the 404 is coming from a problem with permalinks. I’m not sure what the fix would be, except to perhaps reset your permalinks to the default, then back to the “pretty” format.
So unfortunately right now, you can either list the author (the wordpress user) OR you can list byline names. So if you want to display the author with a link, I believe the function is the_author_link(); instead of the_author();
If someone wants to try that and let me know if it breaks the plugin, let me know. Thanks for your patience!
Forum: Plugins
In reply to: [Byline] Author meta data has invalid formattingThat code is calling up other author information and wrapping the_author in a custom link. I think this is causing a link to be generated inside a link, so we aren’t getting the intended result.
In your meta.php, try replacing the entire block starting with
<a href="<?php echo get_author...
to the closing</a>
with simply<?php the_author(); ?>
If you want you can wrap the php string in a DIV or SPAN with a class or ID to give you some control.
Forum: Plugins
In reply to: [Byline] Author meta data has invalid formattingRichard, can you post a link so I can look into it?
Forum: Plugins
In reply to: [Byline] Author meta data has invalid formattingWhat I have found in cases like this is that the theme is calling the author information with some custom code.
The byline plugin requires that the theme use the_author() to call up the author name/link.
If you’re versed in php you can place this bit of code where you want the author-byline to appear:
<?php the_author(); ?>
From that it’s just a matter of placing it in the right
div
orspan
to appear the way you want it to.Forum: Plugins
In reply to: [Facebook Page Publish] "Some or all access permissions are missing"Same here. I get:
Some or all access permissions are missing. Please click the button Grant access rights! and authorize the plugin to post to your Facebook profile or page.
Your page or profile’s access permissions could not be verified.
It successfully authenticates through Facebook, but once I select a page to connect to, it throws this error.
Forum: Fixing WordPress
In reply to: Popular Posts for Jetpack?Having same problem. Does updating to Jetback fix the popular posts API call?
Forum: Plugins
In reply to: WordPress Courier pluginWhat do you need to know?
I’ve seen the duplication problem and in some cases have corrected it, but I would need to know more about your setup to help out.
One likely culprit is having a WordPress user who has selected subscriptions in their profile, then manually subscribed via the signup form or had their email address imported into Courier (e.g. a Feedburner CSV).
Courier doesn’t merge/sync these two lists (registered users vs. manual subscriptions), from what I can tell.
How did you know the emails were not going out? Are you sure they were not going to your spam/junk mail? Did you get bouncebacks or any other error email?