not2old2learn
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Responsive Tabs] tabs show default webmaster cgi pageTurns out /?frontpagetab= in both the front-page.php and breadcrumbs.php files were not pulling the complete url as I am using an IP address IP/~name/?frontpagetab= . It was ignoring the /~name part of the url which explains the behavior mentioned in the original post. For now I added the /~name in front of the /?frontpagetab= in the two files mentioned above as a temporary fix until I finish developing the site using your theme.
Thanks Tobias it worked perfectly.
Forum: Themes and Templates
In reply to: [Responsive] home widgets on just a few pagesJust found this will give it a try https://themeid.com/docs/add-the-home-widgets-to-pages/ I assume it will work on existing pages.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] hide columns from mobile browserActually I have not uploaded the Responsive Tables Extension, only read about it on your website. I will email you a link to the site as its under development and prefer not to publish the url, do you have a contact form? I did delete the cache on the website and tablet before attempting to view.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] hide columns from mobile browserI added the code below to the custom css field and it worked on my mobile phone only showing 3 columns, but for my Samsung 7 inch tablet all twelve columns continued to show as well as overlap the right sidebar widget slightly. If I viewed on PC and resize screen it behaved correctly going from 12 columns to 6 then down to 3. Any suggestions why it wouldn’t display on the tablet? Also, is the practice of hiding (display:none) columns an acceptable practice with regard to what Google defines as deceptive practices?
@media (max-width: 979px) {
.tablepress-id-1 .column-4,
.tablepress-id-1 .column-6,
.tablepress-id-1 .column-8,
.tablepress-id-1 .column-9,
.tablepress-id-1 .column-10,
.tablepress-id-1 .column-11 {
display: none;
}}
@media (max-width: 767px) {
.tablepress-id-1 .column-4,
.tablepress-id-1 .column-5,
.tablepress-id-1 .column-6,
.tablepress-id-1 .column-7,
.tablepress-id-1 .column-8,
.tablepress-id-1 .column-9,
.tablepress-id-1 .column-10,
.tablepress-id-1 .column-11,
.tablepress-id-1 .column-12 {
display: none;
}}
Forum: Plugins
In reply to: [MapPress Maps for WordPress] where can I enter an API keythanks Chris, just found that after reading the docs. One last question, docs mention creating poi shapes using tool bar at top of map, not visible in free version, so I assume its only available in pro? Looking forward to using your plugin (most likely pro).
Forum: Plugins
In reply to: [GEO my WP] filter formid and _wppl_addressA bit confusing for me, have been researching your recommendations since last post. Found this to add to my themes functions.php file:
/** * Add custom taxonomies * * Additional custom taxonomies can be defined here * https://codex.www.ads-software.com/Function_Reference/register_taxonomy */ function add_custom_taxonomies() { // Add new "Locations" taxonomy to Pages register_taxonomy('location', 'page', array( // Hierarchical taxonomy (like categories) 'hierarchical' => true, // This array of options controls the labels displayed in the WordPress Admin UI 'labels' => array( 'name' => _x( 'Locations', 'taxonomy general name' ), 'singular_name' => _x( 'Location', 'taxonomy singular name' ), 'search_items' => __( 'Search Locations' ), 'all_items' => __( 'All Locations' ), 'parent_item' => __( 'Parent Location' ), 'parent_item_colon' => __( 'Parent Location:' ), 'edit_item' => __( 'Edit Location' ), 'update_item' => __( 'Update Location' ), 'add_new_item' => __( 'Add New Location' ), 'new_item_name' => __( 'New Location Name' ), 'menu_name' => __( 'Locations' ), ), // Control the slugs used for this taxonomy 'rewrite' => array( 'slug' => 'locations', // This controls the base slug that will display before each term 'with_front' => false, // Don't display the category base before "/locations/" 'hierarchical' => true // This will allow URL's like "/locations/boston/cambridge/" ), )); } add_action( 'init', 'add_custom_taxonomies', 0 );
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
So by doing something like this, my existing page urls will be rewritten which I didn’t really want. Current page url’s look like mywebsite.com/miami-florida-real-estate/subname. By adding the taxonomy won’t it then be something like mywebsite.com/locations/miami/miami-florida-real-estate/subname ?
Thanks for your time, I will continue to research in hopes of continuing use of your plugin.
Forum: Plugins
In reply to: [GEO my WP] filter formid and _wppl_addressYou can’t incorporate something like this in the post Google Map – Check whether a point (LatLong) exists within a polygon.
https://counsellingbyabhi.blogspot.com/2013/01/google-map-check-whether-point-latlong.html in your code.
I see if I can figure out what you are talking about in your reply above. Each one of my city page url’s start with the same format, like /miami-real-estate/subdivisionname. So if I have 50 subs, then I have 50 pages starting with the url format above with different sub name for each. I appreciate your time thus far.
Forum: Plugins
In reply to: [GEO my WP] filter formid and _wppl_addressWith regard to my last post above, is there a way to use an encoded polyline in the hidden search field for Miami for example which defines the actual boundaries, then when the user clicks submit your plugin decodes the polyline and returns anything that has latitude and longitude within the boundaries defined in the polyline? If you look at the actual city configuration for Miami its far from being a circle. But if I used googles interactive polyline encoder utility to define the actual perimeter of Miami, any of my post type pages with lat and long within this defined geographical area would be returned in results. So, is it possible to submit an encoded polyline which when submitted could be decoded by extra code added to your “fantastic” plugin to give me the results I really need. Or I use pairs of lat/long in the hidden search field that define the area so that you could revise some code to use what would be an array(?) and return results that fall within this area. Just thinking out loud, I’m not a programmer.
Forum: Plugins
In reply to: [GEO my WP] filter formid and _wppl_addressProblem with your approach is that most cities in our area are 6 miles by 6 miles blocks not circles so setting radius to 4.25 miles will return posts from at least four other surrounding cities that are located in the geographical area covered by the radius. In fact one city is broken into 3 non-contiguous (spelling?) geographical areas.
I don’t want to use your plugin as a “you are here type starting point”, I want to use it as a way to populate a map with post type pages that are within a specific city (can’t use zip because some cities share zip codes).
So you are saying that there is no way (using free or premium version) to force a submit action to render search results unique to a city based on the _wppl_address or even a map polygon path or something.
Forum: Plugins
In reply to: [GEO my WP] change input and results labelsFinally Got IT!
Changed my labels that show up in the map info bubbles in
geo-my-wp/plugins/post-types/js/map.js
Line 136 thru 139
Changed my labels that show up in the list under the map in
geo-my-wp/plugins/post-types/template-functions.php
Line 78+
Changed my labels that show up on the page or post under the additional info tab in
geo-my-wp/plugins/post-types/admin/metaboxes.php
Line 54+
Changed the labels next to the check boxes in the plugin shortcode admin area in
geo-my-wp/admin/admin-shortcodes.php
Line 626+
Works great!!Forum: Plugins
In reply to: [GEO my WP] change input and results labelsI noticed you marked this resolved but its not. Per you instructions I made changes to “phone” changing it to another word “residential”. Nothing changed, so I went file by file.
geo-my-wp/plugins/post-types/admin/metaboxes.php line 54 and line 418
geo-my-wp/plugins/post-types/template-functions.php line 78I also found
geo-my-wp/plugins/post-types/shortcodes.php Line 273, Line 293 and Line 320
geo-my-wp/plugins/post-types/functions.php Line 117 and Line 140
geo-my-wp/admin/admin-shortcodes.php Line 626
geo-my-wp/admin/db.php Line 65
geo-my-wp/plugins/post-types/js/single-location-map.js Line 33
geo-my-wp/plugins/post-types/js/map.js Line 136After making the changes in each of the above files the new label replaces the old everywhere, unfortunately if I update the new meta field in the page post it is no longer returned in results. And, if I add a new page it won’t show up in the search results when it should. For the search results that do come back which don’t have anything in the meta field for the new label, the post shows N/A, the map bubble shows undefined. Any suggestions, there must be a file that I’m missing.
Forum: Plugins
In reply to: [MapQuest Map Builder for WordPress] static maps don't display anymoreHi Chip,
building a new RE website map intensive. Was using the plugin lost static maps for almost 2 days back in June. Didn’t give me a lot of confidence in the plugin. Not currently using. Thanks for the reply anyway.