Carmdq
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Run two sites from one databaseHi sandyr,
You are correct. The client wants to enter the content in one site and only once, and having it displayed in both.
“Site 1” would be the same as “Site 2” (with different domain, header, footer), but the content/products should be the same.
So I was aiming for a way/function/script or anything that would allow him to enter the content just once.
Forum: Fixing WordPress
In reply to: Run two sites from one databaseForum: Fixing WordPress
In reply to: Run two sites from one databaseHe would be using different domains by the way. Didn’t know about “Google’s duplicated content penalty”.
Forum: Fixing WordPress
In reply to: Run two sites from one databaseWell, a client needs to have the same products he’s selling on his WP site, on another WP site. So basically, he’s looking for a way to load content just once as opposed to either creating each post twice or copying/ pasting one by one.
Forum: Fixing WordPress
In reply to: Template Error MessageNevermind. I somehow replaced the child-theme CSS and that screwed the template. Fixed it by restoring the correct CSS in place.
Forum: Plugins
In reply to: [Multisite Language Switcher] Create a hardcoded linkI get it. Thanks!
Forum: Plugins
In reply to: [Multisite Language Switcher] Create a hardcoded linkHi realloc, I’m not sure I’m getting your point. Or maybe I didn’t explain myself correctly (English is not my mother tongue).
I have two sites: mysite.com/en and mysite.com/es. Therefore, I have two blogs: mysite.com/en/blog and mysite.com/es/blog.
In your example:
<a href="<?php echo network_home_url( 'link_to_somewhere' ); ?>"> <?php _e( 'read all', 'mytheme' ); ?> </a>I think you’re telling me how to localize the phrase “Read more”, but that would take me to the same link.
What I want is that same link hardcoded in my theme, to either take me to mysite.com/en/blog or mysite.com/es/blog depending on which version/ language of the site I’m browsing.
I will look into the other code you provided to see if that’s what I’m lookink for.
Thanks
Forum: Plugins
In reply to: [Multisite Language Switcher] Create a hardcoded linkHi realloc,
you’re correct. I’m trying to add a link in my theme (in the index page actually), that links to the blog.
The thing is that I have two sites, one in English and the other one in Spanish. In both sites I wanted to add a link that takes you to the blog.
But I have two blogs, as I have two sites.So,the English version of the site should link to the English blog and the Spanish site should link to the Spanish blog.
I think I need some sort of function two make the link, because a single link would always take you to the same url.
Searching the web, I found this link that better exemplifies what I’m looking for.
So I wanted to ask if there was a way to do this with your plugin.
Forum: Fixing WordPress
In reply to: Pulling latest posts to homepageHi esmi,
The vendor does not provide support for customizations beyond the provided theme which I think is understandable, and neither am I looking for someone here to give me a step by step.
I was merely asking if there’s a specific piece of code in WordPress that usually works for what I’m trying to do and that I should be looking for.
Thanks anyway.
Forum: Networking WordPress
In reply to: Cloning Multisite for testing environmentThanks Mika.
Forum: Plugins
In reply to: [More Privacy Options] Is your plugin suitable for this situation?Thanks
Forum: Networking WordPress
In reply to: Cloning Multisite for testing environmentWhat I don’t quite get yet, is why would you would change .com for .loc since you’re modifying the hosts file. Wouldn’t that be redirecting the browser to your computer avoiding the need to touch the database?
Forum: Networking WordPress
In reply to: Cloning Multisite for testing environmentI assume .loc is for local. But I’ve never tried messing with the hosts file. Do you just need to insert the IP address and example.loc in it?
Forum: Networking WordPress
In reply to: Cloning Multisite for testing environmentThanks Mika. I will look into this. I guess the most complicated part would be the database references and links. I have found this method to make a copy to a local environment.
What do you think?
Also, I checked “Strip the category base…” on Permalink settings so I get mydomain/blog instead of mydomain/category/blog in case it has anything to do with it.
Thanks