Andersen
Forum Replies Created
-
AuthorPosts
-
Thank you for the answer Stiofan! I didnt buy the short answer from Alex, so thats why i asked.
We all know that plugins are the biggest security risk, and therefore, the less plugins, provided by programmers like you, the less risks.So you can gurantee that the Un-updated plugin is safe and secure even though there are no one supporting and updating it?
This reply has been marked as private.Its in your code (see justify attachment)
Also, i made some changes to your styling. it looks better now 🙂
Maybe you find it useful. Never mind the color i use.
.gd-rating .gd-rating-text {
background-color: #e84895;
color:#FFF;
height:21px;
line-height: 21px;
}
.gd-rating .gd-rating-text:before {
border-color:transparent #e84895 transparent transparent;
}
.geodir-comments-area {
text-align:left;
}Last thing: I find it a little challenging that there are some things I have to overwrite, even though I have already set my stylings globally, for example. my headings. By gd_listing puts h2 to bold + other properties are set. Then I have to overwrite these even though they have already been set, which creates unnecessarily much code. It’s better if they are not set as a starting point and let your code inherit from the parent instead.
Perfect Alex! Thanks
That actually worked! Now i can enable those plugins! Thanks again Alex and Stiofan!
[gd_archive_item_section type=’open’ position=’left’]
[gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ show_logo=’true’ ]
[gd_archive_item_section type=’close’ position=’left’]
[gd_archive_item_section type=’open’ position=’right’]
[gd_post_title tag=’h2′]
[gd_author_actions author_page_only=’1′]
[gd_post_distance]
[gd_post_rating alignment=’left’ ]
[gd_post_fav show=” alignment=’right’ ]
[gd_post_meta key=’business_hours’ location=’listing’]
[gd_output_location location=’listing’][gd_archive_item_section type=’close’ position=’right’]
Sadly no. if you look at the text, its exact same text. However, the lower area is stripped from any formatting in the text. Only the upper text reflects the actual text i have written incl. formatting.
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.From comments
There’s actually no need to create a global variable (and you shouldn’t) if you want to only load scripts/styles on pages where the shortcode is used. One method is to use wp_register_script() to register the script in the wp_enqueue_scripts hook, and then to use wp_enqueue_script(‘script-hook’) in the plugin callback. The script will then only be loaded if the plugin callback is called.
This reply has been marked as private.While you are add it, can you tell me why i cant activate some of the plugins? They are all update to date and version 2.x. When activating the plugin it gives me this msg: “GeoDirectory Review Rating Manager requires GeoDirectory plugin to be installed and active.”
But as you have seen, it is installed. This was a fresh install, so no V1 before this.
Thanks Alex and Stiofan.
Alex: Im running latest version. My full admin account has the same issue.
Stiofan: Great!
-
AuthorPosts