website screenshot instead of category image in listings
This topic contains 22 replies, has 4 voices, and was last updated by Kiran 5 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 14, 2019 at 2:05 pm #492995
Hello,
gd is a great plugin – ty
I searched the forum before posting. But not shure i used the right keywords due to not speaking a natural english.
So if this subject already was covered and i did not find it – sorry.Problem:
I want to use a website screenshot instead of category image in listings, when there is no image for that entry.
I did not find an option for that in gd settings. Its for example is offered in PlugIns like Pretty LinksMy Environment:
For my start i installed only gd V2 with location manager and advanced search
I have the latest WP Network Installation – folder structure, php, mysql, apache versions. permalink %%posts%% It works fine.I import addresses via csv files.
they contain an URL of the website, but no image. So by default, the category image is displayed for search results or gd archive listings.To display a screenshot of the website as an archive listing preview image instead of the gd category image, I use the PlugIn Browser Screenshots.
If the shortcode of this plug in, to generate the WebSite preview is entered in the title of a GeoDirectory post, the different listings o show the WebSite screenshot.
example – 4 entries. first entry uses the screenshot generating plugin shortcode – the others use the category image
Shortcode used in the title field of geodir entry:
<p style=”visibility:hidden”>[browser-shot url=”http://www.anjas-zauberwald.de/” alt=”Adresseintrag Ania’s Zauberwald” width=”400″ height=”300″ display_link=”false”]<br></p>Anja’s Zauberwald Blumen</p>
Screenshot with mouse over text – generated screenshot:
https://mein-garten.de/adressen//wp-content/uploads/2019/markus/1-entry-mouse-over-wired-text.PNGScreenshot with mouse over text – category image:
https://mein-garten.de/adressen//wp-content/uploads/2019/markus/2-entry-mouse-over-ok-geodir-category-name.PNG
Entering the PlugIns shortcode into a normal WP Post does not cause such a cryptic text when mouse over the preview image.Question 1:
Is there a way to avoid that cryptic text when mouse over happensQuestion 2:
Is there another solution, how i could generate images for entries in gd?I am discussing the problem as well with the developer of the plugin Browser Shot here
https://wordpress.org/support/topic/featured-image-with-geodirectory/
Hope u have an idea to solve that, thanks in advance – markusJune 14, 2019 at 2:52 pm #493003Shortcode used in the title is generating cryptic text.
Can you share a link to the site? maybe we can figure it out from the markup.
Haven’t seen or heard of other plugins for this.
June 14, 2019 at 4:37 pm #493025Hi Alex,
ty for answering so quick.
Do uyou mean a link where that happens – or admin username and password?
Here is a link where u can see what happens.
its the first entry top left with the shortcode in the title.The other 3 entries dont have an image and use the category image.
Here the mouse over shows the category name.Same happens, when u choose the map of this entry and mouse over the icon or, when you cklick the icon.
https://mein-garten.de/adressen/standort/germany/nordrhein-westfalen/essen/anjas-zauberwald-blumen/#post_mapHave a nice day – markus
June 14, 2019 at 4:45 pm #493027hi,
I asked a developer to check why it works with post titles and not with our titles.
They’ll let you know asap.
Thanks for your patience.
June 14, 2019 at 5:24 pm #493030ty thats very kind.
June 16, 2019 at 7:33 am #493179Hello again Alex and Paolo,
Question one:
Is it possible to enter a shortcode for website image generation in the post_images field instead of the URL? This would also solve my problem of having a preview image of the website as a screenshot, and avoid having only the category image displayed in the listings.Question 2:
Is there an export filter by categories?
I am revising my data by categories in Open Office Calc. For this I export the csv files. Unfortunately I only find one filter by date for the export. If all my addresses are integrated, that’s about 250,000 ADresses. So I would always have to export all 250,000 in order to be able to work on the 4000 tree nurseries. That is not thought so surely.Have a nice day, Markus
June 16, 2019 at 10:06 am #493206I would recommend creating a custom HTML field for that shortcode. That is the only field type designed to take shortcode.
2. You can try the new WP All Import plugin, that is why we built it. It is available from your downloads page here on this site.
June 16, 2019 at 2:20 pm #493230oops- my reply is not shown.
Any probs with the forum?June 16, 2019 at 2:26 pm #493233Part 1
Ty Alex,1. Custom html field.
I want to get a website preview as a thumbnail instead of the category image, which is used, when there is no image. Shown in archives or listings of search results.There is no Problem to put the shortcode in the enty text. That works fine. Website preview is generated and shown at the detaille page.
June 16, 2019 at 2:29 pm #493238part 2
seems the link i wanted to send as an example forbids me to poste.A well it gets shown when i put the shortcode into the title.
Only mouse over the image shows a cryptic text instead of the category Name. That confuses people.So? Would a shortcode in a custom html field really get shown as a thumbnail pic in archives and search result listings? I dont think so. It gets shown with the detaille page. Am i wrong? I will try that. anyway.
2. WP All Import plugin
Sorry i missed that – i tried to start with gd lean in my learning phase – only with few extra gd plugins. I will try that.tx, thats great news.Have a nice day – markus
June 16, 2019 at 2:30 pm #493239part 3
example link that shortcode works within the textwatch here:
https://mein-garten.de/adressen/standort/germany/nordrhein-westfalen/essen/anjas-zauberwald-blumen/June 16, 2019 at 2:33 pm #493240Here is the example that it works within the text.
Cant mark it as a link – it does not get posted when i do that.
https://mein-garten.de/adressen/standort/germany/nordrhein-westfalen/essen/anjas-zauberwald-blumen/
June 16, 2019 at 4:04 pm #4932492. You can try the new WP All Import plugin, that is why we built it. It is available from your downloads page here on this site.
I installed and activated gd wp all imort v2 and the WP all import plugin.
I cant find any added filter for export in the settings import/export
What dis i miss?June 16, 2019 at 7:04 pm #493271You can always export GD Listings with the built in functionality:
https://wpgeodirectory.com/docs-v2/geodirectory/settings/import-export/#recommendedJune 23, 2019 at 11:25 am #494325Ty
Is there a way to use a gd_category as a filter, when exporting.
Instead of adding Post Types.
For me it seems Poste Types and Categories are same.Example:
I have a category Flower Shop (4000 entries)
and category tree nursery (6000) entries)Now i want to export only the Flower Shops into a csv file to overwork it with open calc.
Have i really to add new post types first with same names as the categories, to filter the flower shops? This is double taxonomy
Why there is no filter for categories, when exporting? I could not find it. Only Filters for Poste Type and date. I dont want to export 1000000 of adresses all time, when i only need the flower shops.Thanks in advance – markus
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket