I tried to bold the post titles on post grid but it’s not working. I thought it was a language character issue but turns out that English characters doesn’t work as well. Please let me know how can I address this, thanks!
]]>using elementor theme builder i created a template for stories.
theme builder allows me to use post info widget, post content widget, featured image, etc. EXCEPT post title widget and page title widget. When I deactivate UAE, the post title and page title appears. When I reactivate UAE, they both disappear.
under single page settings > general settings > page layout is ‘default’
any help appreciated
any help appreciated.
Same website, custom post type, the page title and featured image are not rendering at all?
https://roseviggiano.com/workshops/healthy-love-building-secure-attachment/
They used to render exactly the same as the blog posts? What happened?
Came across this neat form plugin I saw referenced in a post somewhere. I really like the concept and hope you can develop it further.
One thing I need help with is the hidden fields. Is there a way to pass context data like page/post title with these fields?
Thanks.
]]>I want to find a correct way to handle changes of the post title with WP JS hooks (the title).
Also is there a way to update the title using JS (hooks or some other way)?
Thanks in advance,
Vahan
1. Can someone guide me how to remove margin on right side. The theme body as shifted to left side with too much margin on right side. Kindly refer the link provided. I tried everything in customize. Still it’s not working.
2. The font size of Post title in single post is not getting reduced.
Kindly guide me to resolve this issue.
Thank You
]]>By tweaking sp-template-hooks.php, I’ve been able to do something. But its not perfect. I suspect I’m looking in the wrong place/barking up the wrong tree.
Any advice?
function sportspress_the_title( $title, $id = null ) {
if ( ! $id ) {
return $title;
}
if ( ! is_admin() && in_the_loop() && $id == get_the_ID() ) :
if ( is_singular( 'sp_player' ) ) :
$number = get_post_meta( $id, 'sp_number', true );
$current_team = get_post_meta( $id, 'sp_team', true );
$url = get_post_meta( $id, 'sp_url', true );
if ( $number != null ) :
$title = '<strong class="sp-player-number">' . $number . '</strong> ' . $title . ' | ' . '<a href="' . $url . '">' . $current_team . '</a>';
endif;
elseif ( is_singular( 'sp_staff' ) ) :
$staff = new SP_Staff( $id );
$role = $staff->role();
if ( $role ) {
$title = '<strong class="sp-staff-role">' . $role->name . '</strong> ' . $title;
}
endif;
endif;
return $title;
}
add_filter( 'the_title', 'sportspress_the_title', 10, 2 );
I’m not sure how to go about doing tis. I’m using Frontend Admin with ACF and Elementor. I set the title to be a hidden field and tried to use either dynamic content via elementor or shortcodes via WP to create a unique title. But the title ends up being the shortcode from elementor or WP. It’s not translating.
-Ron
]]>