Forum Replies Created
-
AuthorPosts
-
Aakash Chakravarthy
KeymasterHi,
Please insert the below custom PHP snippet on your website and it should fetch the city and state.
add_filter( 'srr_mod_item_html', 'srr_job_location', 10, 3 ); function srr_job_location( $html, $feed_url, $feed_item ){ $city_tags = $feed_item->get_item_tags('http://haleymarketing.com/rss/2.0/modules/job/', 'city'); $city = !empty($city_tags) ? $city_tags[0]['data'] : ''; // Get the job state (in the job:state namespace), check if the tag exists $state_tags = $feed_item->get_item_tags('http://haleymarketing.com/rss/2.0/modules/job/', 'state'); $state = !empty($state_tags) ? $state_tags[0]['data'] : ''; $html[ 'after' ] = $html[ 'after' ] . '<p>' . $city . ', ' . $state . '</p>'; return $html; }
Thanks,
AakashAakash Chakravarthy
KeymasterHi,
Thanks for using Super RSS Reader plugin.
I see that the RSS feed has custom fields and the location is present in those fields like below.
<title> <![CDATA[ Civil Project Engineer / Project Manager (Mid Level) ]]> </title> <link> <![CDATA[ https://jobs.apcinc.com/jb/Civil-Project-Engineer-Project-Manager-Mid-Level-Jobs-in-St-Charles-MO/11797484 ]]> </link> <description> <![CDATA[ <span><span><strong><span>Job Title: </span></strong><span>Civil Project Engineer / Project Manager (Mid... ]]> </description> <guid isPermaLink="false"> <![CDATA[ https://jobs.apcinc.com/jb/Civil-Project-Engineer-Project-Manager-Mid-Level-Jobs-in-St-Charles-MO/11797484 ]]> </guid> <pubDate>Thu, 15 Aug 2024 00:00:00 EDT</pubDate> <job:referencenumber> <![CDATA[ 11797484 ]]> </job:referencenumber> <job:city> <![CDATA[ St. Charles ]]> </job:city> <job:state> <![CDATA[ MO ]]> </job:state> <job:country> <![CDATA[ US ]]> </job:country> <job:postalcode> <![CDATA[ 63301 ]]> </job:postalcode> <job:jobtype> <![CDATA[ Perm Placement ]]> </job:jobtype> <job:category> <![CDATA[ Engineering ]]> </job:category> <job:payrate> <![CDATA[ 130,000 ]]> </job:payrate> <job:requirements> <![CDATA[ ]]> </job:requirements> <job:additionalinfo> <![CDATA[ ]]> </job:additionalinfo> <job:customfilter1> <![CDATA[ ]]> </job:customfilter1> <job:customfilter2> <![CDATA[ 0 ]]> </job:customfilter2> <job:customfilter3> <![CDATA[ Hybrid ]]> </job:customfilter3> <job:repfirstname> <![CDATA[ Kori ]]> </job:repfirstname> <job:replastname> <![CDATA[ Losack ]]> </job:replastname>
Can you please let me know which information you need to pick and display?
Thanks,
AakashOctober 19, 2024 at 1:35 pm in reply to: banner and nav bar overlapping when scrolled down and up #15183Aakash Chakravarthy
KeymasterHi Kate,
Thanks for confirming. Glad it helped!
Thanks,
AakashAakash Chakravarthy
KeymasterHi Simon,
I couldn’t find any workaround for this.
Google stopped printing the source URL in the feed URL, so there is no way to fetch the image and other metadata.
This will be an issue with any RSS Reader.
Any hack to achieve this workaround will be expensive and or will slow down the site.
I’ll still keep you posted on this.
Thanks,
AakashOctober 13, 2024 at 2:52 am in reply to: banner and nav bar overlapping when scrolled down and up #15168Aakash Chakravarthy
KeymasterHi Kate,
I looked at your site and see that the header is positioned “fixed” with top value 0.
It is expected for the header to overlap that way. Announcer does not know that there is a header which is overlapping.
We can use CSS though as a workaround, but is messy.
I would suggest either of these,
1) Adjust elementor settings and change the header “sticky” offset value from 0 to 50px
2) Move the announcement to the bottom of the screen
3) Move the announcement below the header using the CSS below..ancr-group.ancr-pos-top{ top: 100px !important; }
Thanks,
AakashOctober 11, 2024 at 11:47 pm in reply to: sticky is overlapping the sticky header when scrolling. #15164Aakash Chakravarthy
KeymasterHi Kate,
I tried using VPN and can visit the website now. I see no issues on the page and everything worked well. Looks like the issue is addressed.
Can you please start a new thread to address it if issue persists?
Thanks,
AakashOctober 10, 2024 at 11:18 pm in reply to: sticky is overlapping the sticky header when scrolling. #15155Aakash Chakravarthy
KeymasterHi Kate, I’m seeing just a single dot on the site like below.
Thanks,
AakashOctober 10, 2024 at 11:04 pm in reply to: sticky is overlapping the sticky header when scrolling. #15153Aakash Chakravarthy
KeymasterCan you please recheck if the address is correct and it is not mistyped?
October 10, 2024 at 9:17 pm in reply to: sticky is overlapping the sticky header when scrolling. #15151Aakash Chakravarthy
KeymasterHi Kate,
I see that the website is empty. Can you please let me know once the site is live?
Thanks,
AakashOctober 8, 2024 at 1:31 am in reply to: Scheduled announcer banner does not accept the timing. #15138Aakash Chakravarthy
KeymasterHi Tarjet,
This is not expected and there is no such reported issue. My guess is that you might be vieweing a cached page before the announcement was scheduled.
Can you please try again with a different far off schedule (like december) and check the same? Please share the page URL if issue exists.
Thanks,
AakashAakash Chakravarthy
KeymasterHi Alex,
Glad you figured it out.
Shortcoder sets the content in the
post_content
field of post. So if you are using that already to modify the shortcode content, then there is no need to worry.Thanks,
AakashAakash Chakravarthy
KeymasterHi Alex,
Thanks for using Shortcoder. Shortcoder uses “custom post types”. So if you are able to edit a custom post type usign your script, then it should work for shortcoder too.
I haven’t tried editing any custom post type with REST API.
Can you please let me know what happens in your case?Thanks,
AakashOctober 2, 2024 at 7:19 pm in reply to: [Git it Write] How to define the category for the article in GitHub #15117Aakash Chakravarthy
KeymasterHi @lunctoken,
You can set all the post related properties in the YAML header like in the example below under “taxonomy” field.
Thanks,
AakashOctober 2, 2024 at 7:08 pm in reply to: sticky is overlapping the sticky header when scrolling. #15116Aakash Chakravarthy
KeymasterHi Alan,
Yes, the announcement message supports full HTML. You can insert links.
Please switch to the “Visual” tab and use the toolbar to insert links in the message.Thanks,
AakashAakash Chakravarthy
KeymasterHi @lunctoken,
I haven’t tested with WPML and not sure how WPML works behind the scenes.
Also, how do you intent to store the orginal and translated posts in your repo?
Thanks,
Aakash -
AuthorPosts