I need to make a site for a friend of me in WordPress.
Maybe you can help me with this thing.
my problem is that I need to make a menu with a few pages inside, what I did correctly.
Now is the part coming what my question concerns.
I need to make a page which sends you directly to a website. How do I do this?
Do I need to make a code inside the page?
Do I need to make a code inside the menu or something?
I don't know how or what to do. So I didn't try anything, because I don't know how.
Thank you in advance,
Banana
You can directly set external website link using add link into menu. This configuration available in wordpress backendside.
Go to : appearance -> menus -> links
Related
I have created a button using wordpress block editor. I have linked this button to a section. I need this button to be present in the beginning of all my posts.How can I automate it rather than having to make it again and again? I am currently using the jnews theme
I tried installing code snippets but I don't know the right php code to enable this. If anyone could provide the code it would be a great help..
You should edit single post template.
Its path for example is "/wp-content/themes/your_theme/single.php".
Place HTML code of the button to this file.
I'm trying to get on developing websites on Wordpress for easier management for the future admins.
I have created a bootstrap theme on my own. I got all the pages smoothly into Wordpress and are now easy to edit. However I have this one page which has tables, buttons, glyphicons and once I click the "graphic" view while editing the page it breaks it.
So I was thinking that that won't do and I decided to create a new plugin to fix this problem. A simple plugin which has few textboxes on the admin settings page and then just prints the texts on the page where I want them to go.
However I tried to look for tutorials and I'm just overwhelmed. I have gotten my plugin to work somewhat. It has a admin setup page and it can print customized text to a page where my shortcode is. Thanks to this post!
However, I still don't know what to do from this point on.
My question is: Could you help me by giving me an example code to get the same kind of textbox to my plugin's admin page as I have while editing/adding new pages (with graphic view) which saves the text and displays it on a page.
I have no idea if this is the way to go but I can't think of anything else right now. I was thinking that the settings page has a couple of textboxes and the text in them goes where I want it to go on a page. So the future admin won't see the unnecessary html code and therefore can't break it.
I would abandon the "plugin" idea. There are several more elegant ways to do this besides writing a plugin.
By far the easiest to implement is this:
1. Store the html in a "Custom Field" https://codex.wordpress.org/Custom_Fields
2. Display the contents in your page (or post) template https://codex.wordpress.org/Custom_Fields#Displaying_Custom_Fields
I tried to do this on my site: http://www.templatemonster.com/help/magento-listing-sub-categories-on-a-category-page.html
All steps got done correctly but nothing is showing on my site. My main site is inside /app/design/frontend/NAME/default/ ....
Is there something I have to change on the code given on that site? Or if you have any better idea to make this work.
Thank you
Hy, i just recently started to use Halogy, it's a cms based on codeigniter.
I'm currently just checking it out so i'm using the free version, but i cant get my mind wrapped around the custom navigation option.
First of all i cant access the navigation section, and i cant show custom navigation in the template using this {navigation(custom)}
Thanks for any help
Well! I am glad someone is using it. For your problem go to pages creat a page save and publish it and it will be available to use. That's all.
Hey guys, I'm trying to use my wordpress categories as subdomains without using a plugin because the only working plugin doesn't seem to work with the new wordpress.
So I created the subdomains and I'm searching for a way to let this category1.mysite.com to show the content of www.mysite.com/category/category1 without redirecting.
but my question is how to edit the links manually for www.mysite.com/category/category1
when someone goes to my site the theme shows links this way www.mysite.com/category/category1
instead of showing the subdomain, so what files or database table should I edit to change the way my theme shows the links of categories and subcategories ?
and also if you have a way to to the first step in the .htaccess file please tell me about it.
and thank you very much :D
Look into get_categories() function - this will return an array so you can do the following
foreach(get_categories() as $category) {
$url = $category->category_nicename.'.mydomain.com';
}
from this you should be able to build your own UL with the information.
It seems like you will need to use Apache's Mod_Rewrite feature in a way that is not standard with WordPress permalink features.