Is it theoretically possible to have the following feature?
Yes theoretically there are several Geo location API’s out there, the reliable ones you have to pay for, such as MaxMind.
The latter part sounds strange, if you want the same content, then just use language files.
If for some crazy reason you want to serve up different content per country, it would be quite the undertaking, you most likely would want to create your own API or custom page per country, you dont want a billion if statements.
Related Posts:
- Difference Between Filter and Action Hooks?
- How to create an API for my plugin?
- How to add sub-menu to a menu generated by wp_nav_menu by using plugin
- How can I load a page template from a plugin?
- How to get Post ID with the Add Filter Function
- Explanation of the “posts_join” and “posts_fields” filter hooks?
- How do you use the plugin boilerplate loader class to hook actions and filters?
- add_filter OO with parameters
- How Can I Add a Filter to Class Instance Only?
- Is it possible to remove next-post / previous-post with out creating a custom template?
- How to remove unwanted panels inside InspectorControls from core blocks in Gutenberg
- function triggered by “manage_users_custom_column” filter not working
- Proper way to use apply_filters() with class functions?
- add_filter and remove_filter added before and after wp_query
- Actions or filters fired when data is saved in a custom table
- Some nav-menu filters do nothing
- Filter on the_content ignores shortcodes
- Determine which theme location a wp_get_nav_menu_items is for
- How to change wordpress post title?
- What’s the difference between hooks, filters and actions? [duplicate]
- Hook for post permalink update
- Dynamically Override Fancy Title
- Really simple query giving error in SQL syntax
- WordPress Media mime type filter problem 4.0
- How to add custom content under plugin row in WordPress admin plugin list?
- Changing bloginfo description from a plugin
- Define a function outside a class and call the function using action or filter hook
- Does add_filter work outside functions.php
- Synchronize Custom post type tags to WordPress default posts tags
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- How do I alter the comment form ‘allowed tags’ text in a plugin?
- WordPress after content Hook & external template part
- WordPress is automatically linking plain text email addresses
- best practice for query string values – get_query_var always empty for my value supplied in query string
- get_current_screen() return null
- Problems with: manage_${post_type}_posts_columns
- How To Change Logout Screen Title
- SQL query for custom taxonomy slugs
- Add code inside specific wordpress standard function
- Check for template part, else filter content
- How to filter the_content() & include content from template
- Adding rewrite rule dynamically
- Replace youtube embed in wordpress
- How can I replace content in the WP Admin area before an admin page is rendered?
- How to filter content for specific content variable
- Using ob_get_content to get_search_form puts into infinite loop
- Valid filenames for add_action’s first parameter
- How do I access the menus produced by Dashboard > Appearance > Menus
- WordPress class, using add_action to call member function does not work
- How to get all queries’s results after they have executed?
- How to get the post excerpt using post object?
- hook filter after the_content on a specific page
- Bind a function with its own argument to show something dynamically after every content
- How to optimize multiple insert into wordpress database
- Hook add_attachment error
- Call to undefined function is_home() or any conditional tags
- WooCommerce change Tax Class programmatically when Recalculating an existing Order [closed]
- Using AND and bracket grouping in SQL not working
- Update variable value via add_filter
- Make wordpress join default user metas with a column from another table while displaying the wp_users table on the users screen
- Configure WordPress to Generate Scheme-less Relative URLs
- Gravity Forms Anchor only on Front Page?
- How to find list of all functions bind to a particular hook from my plugin?
- Include HTML (Bootstrap Modal Box) with a plugin into my header
- wpdb->get_var always returning 0
- Adding filter to the title without affecting the menu title
- How to validate inputs with filter in register_setting callback
- Can / should a widget plugin define its own Widget Area?
- How to get changed post title in my custom plug-in which fires when ‘save_post’ is called?
- Can I attach a plugin via my add_filter callback contents?
- apply_filters() and call_user_func() to define and call a function outside a class
- add_filter postbox_classes multiple post types
- Override category archive page title (not the head title)
- Limit get_next_post to posts from the same author
- How to store sensitive user data (passwords)
- Override woocommerce loop-start.php from theme using plugin?
- Any way, hook to add content right before the “read more” link?
- WordPress Plugin Boilerplate – add actions and/or filters based on user’s role
- login_message filter not working
- Add_action not calling callback function
- I have a plugin where in I have to change the title of the page dynamically by sending parameter to the_title filter
- WordPress Dropdown image select
- Modify search form with plugin
- Organising and completing posts (mark as read and hide)
- get_comment_meta() for a filter hook in a plugin
- pull data from wordpress database
- Which filter to use to pre-parse form elements, which are generated by plugin’s shortcode?
- Custom signature appears twice on page
- Caption Shortcode: what filter to change the image size?
- Hook for plugin to show content for certain urls
- I can’t write in my DB using $wpdb->insert
- How to filter get_adjacent_post()?
- post_results filter confused by pagination in sidebar and main section
- How do I replace title with my plugin?
- Apply Filters Causing a 500 Internal Server Error
- wp_mail_from not changing from address
- append code after the_content not working
- add_filter adds output in the head
- Do Not Back Up? Is there any accepted way to tell backup and clone plugins to skip a certain file? [closed]
- select rows based on exact time (hours, minutes and seconds)