I worked out the answer.
<?php $url = $_SERVER["REQUEST_URI"];
if (strpos($url, "/ru/")) {
;
}else {
;
} ?>
Figured out that I don’t actualy need to change the whole footer but just the content. =)
Can be closed now. Cheers
Related Posts:
- Auto get_header and get_footer on every template?
- How can a Theme Contain no Header File or Footer File?
- Changing sidebar.php and footer.php depending on URL
- How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?
- wp_redirect() – headers already sent
- How can I get wp_head() as a string instead of echoing it?
- Template Hierarchy for get_header()
- How to remove header images from all pages except the home page? skeleton theme
- Add social icons in a theme through custom admin menu
- Fatal error: Call to undefined function get_header()
- How can I customize wp_footer, where is the code that controls what this function does?
- How do the default themes reference style.css?
- How to remove the header from all pages except home?
- Custom URL parameters in template files
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- Edit footer via customizer
- Storing the contents from txt file into The_Contents”
- WordPress Unite Theme: Footer isn’t sticking [closed]
- How to remove header image in Twenty Eleven theme?
- How to create a fixed header and scrolling content area
- Why am I getting a white screen without a slash at the end of the address?
- Dynamic menu links after header title
- How to change footer or for different kinds of users in wordpress?
- ACF Pro make URL Linked in Custom Template [closed]
- Issue On Displaying Pages with Post Name Permalink
- Second menu has the first menu ID
- header, stylesheet not being read
- Why is the `if else` not working?
- How to add cropped custom header image?
- How do you remove header sitewide from mobile only?
- get main URL from subdirectory with php
- how to change footer content for certain pages only
- remove_action(‘genesis_header’,’genesis_do_header’) hook not working
- Change header image on a particular page
- Correct (and secure) way to escape url when using href attribute
- Dynamic meta description
- get_footer not working boilerplate theme
- How to create full header but keep content narrow
- Does the functions.php file ever get called during an AJAX call? Debug AJAX
- Bestway To Define Theme and Plugin path and url
- Form to Add Posts to Custom Post Type
- How do I add settings to the Background Options Page?
- Import media to online WordPress from local development
- What is the right way to include a wp-admin file in your theme?
- Override Current Theme Setting in wp_config.php
- Theme showing incorrect update
- modify a output of a widget
- changing Specific section background image in wordpress
- Which is the simplest theme for WordPress to use it as your base?
- How to highlight the current page in the nav menu?
- Should I use language_attributes() or bloginfo(“language”) in html tag
- Getting jquery to work with custom theme
- What’s the best action to use when you want to do something only once per theme setup?
- How to upload images using Settings API
- How do I create a custom partial / template?
- Should I use include or load_template for including shortcodes, plugins and so on?
- Get a setting value conditionally in the Customizer api
- How should I be handling my theme version numbering?
- How would you accomplish the following advanced settings page?
- image url relative path not working in css file
- Sort wp_query by sum of two meta fields
- How to i style the elements from the TinyMCE
- Integrate WooCommerce theme with a WordPress theme [closed]
- Change the “Default Avatar” admin option via functions.php
- How to escape multiple attribute at once in WordPress?
- Override plugin option by with a custom theme
- Is WordPress a good option for this…?
- Review site using WordPress
- What happens if a theme is no longer supported?
- Running a function on post update with new post meta
- Check if( selected() )
- Is There A WordPress Hook for Accessing Attachments for A Particular Page?
- WP Customazation API doesn’t save the default Value
- Change WordPress Resource URL
- Sample Theme Options page for Multisite – what to consider
- Multi Site Setup, Child Themes, Getting Style Sheet Directory
- Add image URL automatically to custom field?
- Exclude parent categories from the_category() within the loop
- How do I pass the category object to a function when is_archive() is true?
- Making a horizontal flyout menu from WordPress category listing
- How to use Canonical URL meta tag to avoid duplicate content issues with WP home pages
- getBoundingClientRect() showing different values on load vs scroll
- How can I set multi archive page template on same time for only one custom post type?
- Exclude categories from wp query not working
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- Can I set rest API endpoints from within a theme?
- Customizer Image-Picker Preview Not Working
- How to get url image page the right way?
- Mobile view logo background colour in wordpress
- Breaking Categories Up into Individual Divs
- Strip HTML tags on custom code from the_content
- page.php is not called when I load a Page
- wpdb->insert adds too many rows
- WordPress loop not working on blog.php page
- Option to show/hide widget depending on is_home?
- Add Dynamic Sidebar to Exisiting WordPress Theme [closed]
- How do I middle-align my header menu items in WordPress [closed]
- How to add Dummy content when active wordpress theme without xml import?
- How to send async emails in wordpress?
- Is there any halfway decent documentation on the wp.media JS class?