Tagged Questions
0
votes
0answers
22 views
How to center portfolio tabs menu [closed]
I'd like to center the portfolio tabs menu on the following website
This is a screenshot of the website + the code.
The theme used for the website is Avada 2.1.3 on WordPress 3.5.1.
I've tried ...
0
votes
2answers
37 views
Permalinks problem with custom theme
I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks.
In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
1answer
53 views
How to create a custom template to admin dashboard
I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers.
I've successfully created a page template for a custom login page, and ...
1
vote
1answer
66 views
Responsive Images - Generating multiple images from Theme Customizer control upload?
So, after poking around in the code it looks like the filter image_make_intermediate_size is not called by the various WP_Customize_Control() classes at either WP_Customize_Image_Control() or it's ...
0
votes
0answers
34 views
Wordpress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
I have been working on a theme for a few days and when I realized my JS file for my theme customizer wasn't updating I decided to clear the cookies and cache, and wow that was problematic. As soon as ...
0
votes
0answers
39 views
Created custom control from theme customizer, where should I add code it will control?
I have created a custom control for the theme customizer which is a simple button and label. I am going to be using it as a theme reset button that will clear the theme mod settings to their original ...
1
vote
1answer
60 views
List of all theme customizer control types?
I have been looking through the theme customization API documentation and google to simply find out the names of the control types already built in to the theme customizer.
More specifically I am ...
0
votes
1answer
57 views
How to add button to top of theme customizer?
I am trying to figure out how exactly I can add a button to the top of the theme customizer. The spot I am talking about is where the "close" and "save" buttons are. The ones that are above everything ...
0
votes
2answers
23 views
Is there a WordPress boolean for “theme_customizer_active()”?
Looking to add an action to wp_head but only if the user is in "theme customizer" mode. Does anyone know if there's a conditional for this?
2
votes
1answer
61 views
Upgrading a custom theme through the Dashboard
I can't seem to upgrade my custom theme. Whenever I try to uploaded a new package, all I get is:
Unpacking the package…
Installing the theme…
Destination folder
already exists. ...
3
votes
1answer
168 views
When to use esc_url, esc_html, esc_attr, and friends?
Discovered esc_url today while customizing an _s theme. I understand what the function does (sanitizes the URL inside), but what I'm unsure of is the scope of its use.
It makes sense to me that if ...
0
votes
1answer
150 views
Get author full name
I'm trying to display the first and last name of an author without having to change the "Display publicly as..." setting. Problem is, I can only seem to find solutions for either or, or at best ...
2
votes
1answer
135 views
Modify Javascript Configuration Options for Theme Customizer Colour Picker
I've started fully integrating the Wordpress Theme Customisation API into my Wordpress theme and it's phenomenal. One issue I've encountered is that including the default colour picker is great, but I ...
0
votes
2answers
2k views
WooCommerce: multiple input field for multiple product variations
I'm trying to customize the default Woocommerce theme to my needs.
I have a product that comes in two variations:
it's wine, so variation A is a 6 bottle pack, and variation B is a 12 bottle wooden ...
3
votes
1answer
68 views
What is the best practice for customizing a plugin's JavaScript/jQuery?
Most well written plugins support a safe means for a developer to customize/theme the plugin by copying PHP files to the theme directory and modifying the copies rather than the original plugin file. ...
0
votes
2answers
197 views
How to produce a sub-page-system in Wordpress
I am currently new to Wordpress development and I am developing a custom theme with a few custom post types and custom functionality. For the most part, it was pretty easy to find the information I ...
0
votes
1answer
16 views
Site width broke [closed]
I updated from 3.4.1 to 3.4.2 yesterday and started modifying the theme layout. I added a fullscreen background slideshow, and edited the layout a little more. However, a few minutes after that, my ...
1
vote
1answer
161 views
which is the best way to customize nav-menu-template.php?
I have modified the function start_el in nav-menu-template.php substituting $item->ID with $item->title so that the html li elements in menu have a more readable class names. In detail, I have ...
-1
votes
1answer
63 views
Is website for online game guides doable in WordPress? [closed]
It will almost work as blog but:
Writers will work only with one kind of content "guide".
They will write it in markup language with custom tags that will be replaced by presets.
They will choose ...
4
votes
2answers
131 views
Template for individual post designs
I browsed through the suggested posts, and couldn't find anything that was exactly answering my question. I apologize in advance if I'm reposting something obvious here, but there you have it.
I want ...
5
votes
2answers
257 views
What are the ADVANTAGES of ORIGINAL wordpress template structure?
Precondition: coming from a Custom PHP applications(using symfony, zend and so on) world, for me it feels unnatural to have template separated in a way that is done in original wordpress theme. e.g ...
0
votes
1answer
69 views
My contact form - I've changed the source code but the changes are not being applied
I obviously found the file responsible of displaying the contact form with FireBug, changed the displayed names in the input area and then re-upload my file, however, nothing was changed.
The input ...
0
votes
1answer
151 views
How to make theme configurable
I'm creating my first theme (actually a child theme of "twenty eleven") and am not sure how to best approach theme customization. Say that I want to have a RSS link in the sidebar shown or hidden ...
1
vote
1answer
105 views
How do I Add images uploaded in the post to a default custom field
I'm trying to add the URL of the post images in to a default custom field. Here is the code I got so far...
Here is how I add the default custom field:
add_action('wp_insert_post', ...
0
votes
1answer
369 views
Function to return true if current page has child pages
I'm trying to create a simple function to do a "status test". Goal is to test and see if the current page being viewed has any child pages or not. Using this to alter layout to accomodate child ...
1
vote
1answer
45 views
How to add a button which saves the post then executes a function
Currently, I have a function called 'pub_notification' in my functions.php file which sends an email when the post is published, using the following code:
add_action('publish_post', ...
5
votes
2answers
850 views
Change admin bar to default:off
While I quite like the admin bar I actually want it to be OFF by default instead of ON ( I don't want to disable it altogether because I want users to be able to turn it on if they want - but but I ...
0
votes
1answer
275 views
How to custom category template based on category?
My blog have 2 categories: Photos and Texts.
I would like do customize the category template so that when it renders Photos post's, I want to show a thumbnail gallery and when it renders Texts ...
-1
votes
2answers
168 views
Turning Wordpress Into full-featured website?
I just took 2 coffees worth of caffeine and started a very big project: Turning a wordpress-engined blog with a custom theme into a full-featured website.
Can this be done? Is this legal? Has this ...
0
votes
1answer
156 views
WordPress Template Part in iFrame
(As a preface, I know this is going to sound absurd, but please bear with me. I'm aware this is unideal and atypical.)
What I need to do is put wp_nav_menu inside an iFrame so I can view it on a ...
1
vote
5answers
1k views
How can i customize the comment list
I am using wp_list_comments() function to draw the comment list.But,I want change many things in the form like class,styles, reply link and etc...
so please help me, How can i customize the comment ...
1
vote
3answers
253 views
Where should I update_options in a theme?
I am designing a theme where the home page (i.e. is_home()) should only display the latest blog post. I want to do something like $wp_query->update_option('posts_per_page', 1) every time I am on ...
0
votes
1answer
370 views
How to use multiple check-box values to work in a function and insert values in database
I am working on a custom theme where there is option to upload images . I have certain check-boxes in the form which the users select as per where the image has to go. My form code is as follows :
...
0
votes
3answers
91 views
Should we localize custom-made themes / plugins?
Does anyone know how much do the localization functions from WordPress affect the speed of a website?
Do you think it's worth replacing all strings with gettext inside a theme, even if it will only ...
-1
votes
2answers
256 views
How customizable is a self-hosted WordPress blog compared to a Blogger blog?
I currently have a Blogspot blog and I'm thinking of making the leap to a self-hosted WordPress one instead. Everything I've seems to suggest this is the best way to go for the best possible ...
1
vote
2answers
527 views
How to add custom template tag in wordpress theme?
I am working on a WordPress site, it's an online newspaper site.
The theme I am developing, I want to add custom template functions like get_footer() or get_header(), so that I can save those HTML ...
0
votes
2answers
244 views
Customize how a Wordpress theme looks like in the Theme Selector
How do I customize how my theme shows up in the list of available themes in the Admin console, under the "Appearance" -> "Themes" section.
I need to change stuff like the theme name, author, and ...
4
votes
2answers
730 views
Any official way to create an admin theme?
I was wondering whether there's a common way of customising the aspect of the admin panel.
I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like ...
1
vote
2answers
1k views
How to edit theme functions file to modify pagination?
By default, when adding <!--nextpage-->, the following links are displayed:
Pages: 1 2
I need to replace "Pages:" with a graphic arrow which links back to the previous page, and append a ...
