I am trying to change banner text of one of the web page according to the url parameter. Not sure which code should I modify. or use hook? please someone help me.
many thanks
You need to find out where that text is coming from.
Most WordPress templates that I have used allow you to change this on the admin screen (dashboard). If you log into WordPress using admin password and select Theme/Customize, you should be presented with several options that let you customize this.
There is also a Settings tab visible from the dashboard that lets you change the site name (if that is what's being displayed there).
If you cant find it in either of those, you can try to search for the text in the files system (under themes) and see what's returned.
Related
Is it possible to update the content of a website (add Item, remove Item, update Infos, etc...) directly from the webpage?
For example, you have a webpage and you make a new page in it, that only the admin can access. That page should contain some options that allow the admin to change/update contents on the actual website(what people can see) easily.
(Without the admin having to write new HTML or PHP code...)
I heard something about Joomla or Wordpress but I don't really know how they work.
Thank you.
Basicaly, joomla has some fonctionnalities to edit content by the frontoffice. Of course, the user need to be logged and access levels need to be well managed. You should to try it with a basic installation and see if it's coherent with respect to that you looking for.
I just completed a custom wordpress site for a client and am wondering how to change the tab title that you see at the top of the browser to display the name of the company instead of the whole url ... so in my example I want it to say Kirby's Moving Company instead of kirbysmovingco.com/ and then behind the name of the company id like it to display the page such as Kirby's Moving Company - Home even though it won't be visible in the actual tab since the company name is so long. I'm including a screenshot that shows how I want the tab to link by using another site that I've built and then showing the Kirby's Moving link and how it looks.
Here is the screenshot:
Any help is appreciated, thanks so much!
Check this out:
Hello, try this: https://codex.wordpress.org/Appearance_Customize_Screen (just go to Appearance_Customize_Screen > Site identity and modify the site title
Source
Also you could also read this, It might help!
Right now I'm testing a site on local host. But to show the error I'm running into, go to this address:
http://www.bearvalleycomp.com/cust/twoil/index.php/component/users/?view=registration&Itemid=101
What I want it to do is show the page like this:
Edit: I don't have enough rep to post more than 2 links...Enter that same link above without the "&Itemid=101"
But I'm lost in the code to find the address to remove the Itemid=101
I have found a guide where I can edit it through the system menu as shown here:
https://www.templatemonster.com/help/joomla-3-x-edit-registration-page.html#gref
But it appears this 3.x might not be updated for the latest edition.
Any insight would be appreciated. Thank you
After looking through multiple files, I did find the answer to change the link. It's located under /modules/mod_login/tmpl/default.php. Down around line 101, I was able to add &Itemid=114 to the end of the index.php?option=com_users&view=registration making it look like this:
index.php?option=com_users&view=registration&Itemid=114
Now when I click on Create an account, I see a page for only registering an account.
However, now I get mail errors but I can look into that later I guess.
To work around this problem you have to add the register page to a hidden menu (normal menu, but willout position module) and use that alias item on your link.
This way you can decide which modules to show or not for that particular page.
I am helping out with a Magento store initially configured by another developer who is now gone from the company, and I have no experience using Magento at all. Instead of using the built-in newsletter tools, he created an HTML form which points to a completely different server (which he owns) and now we no longer get notifications when a customer signs up for it.
Somehow, he embedded the HTML into the front page of the Store's website. I spent hours looking for the HTML and did find it, in a page called "Subscribe.phtml". I got happy, changed the code inside that page to what I want it to be, uploaded it back to the server and... nothing. No change at all to the site. I flushed the cache but that did not help.
The page does not appear to have much code in it. In CMS->Pages->Content, it shows only this:
{{block type="featuredproductslider/featuredproductslider" name="featuredproductslider"
template="magentothem/featuredproductslider/featuredproductslider.phtml"}}{{block
type="newproduct/newproduct" name="newproduct"
template="magentothem/newproduct/newproduct.phtml"}}
Under Design, it shows only that the layout is "3 columns". There is literally nothing else in this section.
Can you help me understand how I can change the HTML in this area to make this work? If this is helpful, here's a picture of the area that I am trying to configure:
Thank you.
On page 44 of the manual, there's a section called "How to find out which layout file to modify". I used Template Hints and figured out where the code lived. This is what Jim was referring to. It would have been nice for someone to instruct me on how to do this.
I set it up and found that the previous developer had modified the template directly rather than use blocks or other parts built-in to the system to modify the front page.
You can enable template hints in the Magento configuration:
Go to System->Configuration
Change "Current Configuration Scope" to "Main Website"
Go to Advanced->Developer
Under the Debug tab, choose "Yes" for the "Template Path Hints"
Save configuration.
Now go to your homepage, refresh the page and you will see paths to all templates used on the homepage. You will then get a good idea of where each block comes from.
It won't solve your problem, but it might help you find the right template to edit.
A client is using iMember360 on his website, and doesn't want to give me access to the infusionsoft login so I can't ask this in their support forums, so hoping someone here will know a solution.
When you are viewing pages that are for a specific membership role only, he wants the website to have a different logo.
IE . if you are a profit.Ology member/subscriber, show a profit.Ology logo.
I was hoping when you are logged in, it would add some sort of body class to the tune of 'Profit.ology-Membership', so I could use that to change the logo, but nothing like that happens.
I know I can add a class using body_class('$myclass'); - but my issue is I don't know how to grab a variable for which of these was clicked (if that makes sense).
Has anyone done this before? Any ideas?
Cookies...
You will probably need to use the shortcodes provided by the iMember360 Wordpress plugin. See here for a reference. Even though it's not the original intent, you can use a shortcode as a php function (getting a value in return) by doing the following:
$variable = do_shortcode('[shortcode-name]');
So for example, if you used the ran the following code:
$i4w_users = do_shortcode('[i4w_user_levels sep="|"]');
Then take a look at what information is contained in the $i4w_users variable. You might be able to use that to parse out different user types/levels. If that shortcode doesn't do what you're looking for, you might need to look at some of the other shortcodes they provide on that reference page.