jamesdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] diable drop cap option in editor?I don’t think this is an option yet, but certainly needed.
Forum: Plugins
In reply to: [Site Reviews] How to change review form button text?Worked a treat, thanks ??
Forum: Plugins
In reply to: [Genesis 404 Page] Genesis 2.6.1 no workingTested and confirming all working well in the latest version of Genesis and WP.
Forum: Plugins
In reply to: [Genesis Portfolio Pro] change order of portfolio items, how?Hi..seems when I paste code here it does not get pasted correctly… so if you copied the above, it’ll throw an error…
I’ve added it on Github, link below tested and working.
https://gist.github.com/jamiemitchell/7a17c251b62a5721465b8c25a4c05381
- This reply was modified 7 years, 6 months ago by jamesdesign. Reason: Code not pasted correctly
Forum: Plugins
In reply to: [Genesis Portfolio Pro] change order of portfolio items, how?To modify the post order, use pre_get_posts
This goes in your functions.php
/**
*
* Modify Portfolio Posts Order for Archive
*
*/
add_action( ‘pre_get_posts’, ‘jmd_portfolio_query’ );
function jmd_portfolio_query( $query ) {if( $query->is_main_query() && !is_admin() && ( is_post_type_archive( ‘portfolio’ ) || is_tax( ‘portfolio-type’ ) ) ) {
$query->set( ‘orderby’, ‘menu_order’ );
$query->set( ‘order’, ‘ASC’ );
}}
Hi @rm2773
sorry for the late reply
thank you so much for looking into this, it’s such a great plugin.
I’ll update the shortcode now on the client site
thanks!
Forum: Plugins
In reply to: [Responsive WordPress Slider - HG Slider] Help adding more button to sliderhey all
just kinda worked this out if anyone else needs to add some linking text.
it does require a plugin mod, but only simple, see below
in flexslider-hg.php around line 250, you will see this:
$rtn .= get_the_excerpt();
replace it with this:
if($url) { $rtn .= $a_tag_opening; } $rtn .= get_the_excerpt(); if($url) { $rtn .= '</a>'; }
it uses the excerpt, which becomes your linking text (add some text like read more, view project etc)
bit of css styling and it works a treat!
use
.slide-data > a
for the css class…
Forum: Plugins
In reply to: [Genesis Featured Widget Amplified] custom post info not working correctlythanks champ, but i know all that
but why aren’t the shortcodes working
i can’t just put g a, l, f j in the post meta field in the widget, i need to use the shortcode
[post_time], [post_date format=”l, F j”]
but it prints this 7:00 pm , &q000000201331;Wednesday,
getting the same issue on another new site.
Forum: Plugins
In reply to: [Genesis Featured Widget Amplified] custom post info not working correctlyanyone?
This is really urgent, as now it is playing up on a client site too
hi Nick, hope you are well
yes, of cause it does not show on singles pages, i know wordpress very well.
just leave this thread open for me champ, as soon as the client site is live i will show you the issue, unless i solve it myself, i usually figure things out ??
thankyou for all your support and this wonderful plugin
hey Nick
ok, as soon as the site is live i can show you, can’t put a link on here though till site is approved and live.
but basically as mentioned above, i am using ‘custom post types’, and using your awesome plugin to show a list of posts on a page (added a widget area to that page)
i have the settings in the widget to show posts from my custom post type, show thumbnail, post title and content limit, i’m also using the ‘order by numeric value’ and ‘meta key’ of ‘value’ with custom fields, so the client can do his own sort order.
the client wants to be able to use the ‘more’ tag in these posts, but it just does not seem to work, i have the content limit set to 300 characters (as a backup if he forgot to add the more tag)
hope this helps as that is all i can think of ??
i will test it out on regular ol’ posts when i get a chance, to determine whether it might be custom post types that it is just not working on.
hey Nick
did you want the site where it is?
Forum: Themes and Templates
In reply to: Theme-editing newbie need help with stylingG’day mate…
All this needs to be done in the stylesheet.
these are lists
- ? This is a post
- ? This is a post
- ? This is a category
- ? This is a category
…and a background image can be added in the stylesheet , but if you know little regarding css, you need to learn about creating lists first.
regarding changing the link color, again it’s via the stylesheet, but that’s easy, you only need to paste in your chosen color, eg: #777 is a light grey.
If the stylesheet is in you main root directory you can edit it via your admin/theme editor/style.css
But it could be in another folder though depending on the theme, so that style.css could be empty or have links to the stylesheets, sometimes there could be several, style, reset and layout.
you will need an editor and an ftp client (or xp has one build in)
it’s not a simple thing to do for a newbie, you need to have a good understanding of css before you tackle styling your theme.