Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am new to WordPress. I have installed WordPress on my localhost and even installed and activated a new theme. Now, I want to add horizontal navigation to my wordpress, but I have no idea how to do that or which particular file I need to edit. Can anyone help me whit that or suggest any tutorial that has step by step instructions to learn word press..?
Any kind of suggestions are appreciated.
Depending on which theme you are using, in my case I refer to the default TwentyThirteen WordPress theme. Open up the folder WP is installed in and navigate to the header.php file in the path as follows:
your-wordpress-site/wp-content/themes/your-theme-name/header.php
In that file you can edit the navbar starting at this line:
<div id="navbar" class="navbar navbarShadow">
You must also find the style.css file and edit that for CSS.
I would start with the documentation
http://codex.wordpress.org/
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a wordpress theme of 'Couponis' and I want to edit some code inside a popup window of the coupon when pressing on 'Get Code' but I do not know which file to edit.
here is example of the theme:
http://demo.spoonthemes.net/themes/couponis/home-2/
So how to know which file I should go to
To know which file to edit, simply install the Show Current Template plugin.
Having said that, the best practice to add custom code into a WordPress theme is by creating a child-theme. This method allows your custom code to remain intact when the parent theme is updated. You can find more about child themes here.
I hope you find this useful.
Cheers
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to override tpl files and keep them in separate sub-directory ? Some templates like core bartik keeps tpl files in template subdir. How to accomplish the same for custom own template ?
You can put all of your templates files (*.tpl.php) in different subdirectories of your choice as long as they are in the "templates" directory of your theme. Drupal will find them without doing anything more, but you may need to flush caches for him to detect the new templates files.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is it even possible? If so, do I need to download a plugin to make it work?
(The Wordpress directory is located in webroot/blog/)
I don't want to customize my entire wordpress blog to look like my website when I could just (if possible) display all blog posts on a .ctp file.
Works perfectly with the WordPress API! Thanks.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a wordpress page and every link I have it opens into a new tab. This happened when I change the wordpress from localhost to a remote server.
What can be the problem?
Thanks.
If you check the HTML page source, you can see that every link in your page has the target="_blank" attribute, which means that every time you click on them, the browser will open a new tab.
If you didn't put the target="_blank" manually (hence i suggest you to check your theme .php files) something may inject them when the page is loaded. Thus there might be some possibilities:
A plugin you (or the theme) maybe installed is changing all links to open in a new tab
That theme has a particular option which enable this behaviour and filter pages and rewrites the links.
Without any more information, it's a little hard to answer your question...
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am trying to create a WordPress theme and need to be able to change the images on each page outside the WP text editor. Can this be achived without plugins?
Many thanks for you help.
You can use FTP Manager and replace old images with the new ones.
do you mean you don't just want to use the featured image on a page? - you can create a different template for each page with its own image on. For example if your site has three pages, home, about and contact for example, in your themes folder, saving page.php as page-home.php, page-about.php and page-contact.php is one way to do it. - alternatively use different featured images on each page.