Here’s the documentation from the plug-in:
Here is how the plug-in suggests making the changes:
For example, here’s how you would update the_author_posts_link() to instead use coauthors_posts_links():
?
1
2
3
4
5
if ( function_exists( ‘coauthors_posts_links’ ) ) {
coauthors_posts_links();
} else {
the_author_posts_link();
}
However, the example above is a relatively simplistic way of presenting bylines. There’s a good chance your theme will need an adaptation of it.
For instance, here’s how the change looks for the Hybrid theme:
?
1
2
3
4
5
6
7
8
9
function hybrid_entry_author_shortcode( $attr ) {
$attr = shortcode_atts( array( ‘before’ => ”, ‘after’ => ” ), $attr );
if ( function_exists( ‘coauthors_posts_links’ ) ) {
$author = coauthors_posts_links( null, null, null, null, false );
} else {
$author = ‘<span class=”author vcard”>‘ . get_the_author_meta( ‘display_name’ ) . ‘</span>’;
}
return $attr[‘before’] . $author . $attr[‘after’];
}
On a couple of pages there were links to an external Javascript (pasted below).
This external script displays fine in other themes (like Twenty Sixteen) but not in Flymag. It also works fine on the old site (theme was Thesis).
How can I either get the theme to accept this external script or work around this for certain pages?
SCRIPT:
<script type=”text/javascript” src=”https://public.tableausoftware.com/javascripts/api/viz_v1.js”></script><div id=”tableau_hide_this”style=”width:904px; height:569px;”></div><object class=”tableauViz” width=”904″ height=”569″ style=”display:none;”><param name=”host_url” value=”http%3A%2F%2Fpublic.tableausoftware.com%2F” /><param name=”name” value=”MAFCValue-Wisconsin/Sheet1″ /><param name=”tabs” value=”no” /><param name=”toolbar” value=”yes” /><param name=”animate_transition” value=”yes” /><param name=”display_static_image” value=”yes” /><param name=”display_spinner” value=”yes” /><param name=”display_overlay” value=”yes” /></object><noscript>Value of Transported Goods, by State (millions) <br /></noscript>
]]>On a couple of pages there were links to an external Javascript (pasted below).
This external script displays fine in other themes (like Twenty Sixteen) but not in the theme I have chosen to use for this site (Flymag, free version). It also works fine on the old site.
How can I either get the theme to accept this external script or work around this for certain pages?
SCRIPT:
<script type="text/javascript" src="https://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><div id="tableau_hide_this"style="width:904px; height:569px;"></div><object class="tableauViz" width="904" height="569" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="MAFCValue-Wisconsin/Sheet1" /><param name="tabs" value="no" /><param name="toolbar" value="yes" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>Value of Transported Goods, by State (millions) <br /><a href="#"><img alt="Value of Transported Goods, by State (millions) " src="http://public.tableausoftware.com/static/images/MA/MAFCValue-Wisconsin/Sheet1/1_rss.png" height="100%" /></a></noscript>
Does anyone know how to center the menu bar Text in the FlyMag theme? I saw someone else posting about this a while back but got no response. Help would be hugely appreciated.
Cheers Guys!
]]>Is there a way to make the Flymag menu bar and text etc thinner?
tried to change the CSS myself I can’t suss it.
Thanks
]]>I have added a background to my logo in CSS but the box doesn’t go from edge to edge of the header photo so it looks a bit naff.
Does anyone know 1. how to make it full width of the photo & 2. add a gradient to the background, so it fades from black to reveal the header photo.
I’ve edited the photo itself in photoshop which works but when you view the site on mobile it shrinks the header photo so the black I added is no longer visible.
I’m using Flymag theme
Thanks
]]>The buttons I have are all the same colour yellow so I want to make the thin line above yellow the whole way across. At the moment it is yellow all the way except a small grey bit either end.
https://themeisle.com/demo/?theme=FlyMag – Demo site (i’m working offline)
I’m assuming I have to change a small amount of code but this is my first site I wouldn’t know where to find the bit i am trying to change.
Thanks
]]>