Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

0
votes
0answers
11 views

What is the most effective way to share assets / templates between themes?

I have a multisite network, which uses a few different themes. These themes share a lot of the same layout and structure, but they differ mainly by organization / content / templates. In other ...
0
votes
0answers
13 views

Improve my timetable's code

I'm working on a wordpress theme and creating a time table who will be easy to complete by users. In the back-office, there are a checkbox for each days : <input id="checkbox1" ...
2
votes
0answers
11 views

Is there a way to activate different theme for specified users?

I'm looking to allow beta testing of a theme on WordPress site in production. I was thinking of a plugin to check if WordPress user has been selected for beta phase, and if this evaluates to true ...
0
votes
0answers
9 views

Trouble adding arbitrary menu items to Walker_Nav_Menu

I am trying to manually add two items to my menu because I want them to be (linked) images, and I don't believe there's a way to do that without some custom code. Going off the instructions in This ...
0
votes
1answer
15 views

Duplicate WordPress site to subdirectory but use same db?

I have tried to just copy the whole root folder into a subdirectory. I understand the .htaccess file has to be changed. But can't get it to work right. Is it something more than changing the htaccess ...
0
votes
1answer
31 views

Create theme for mobile phones and tablets only?

I've been checking the docs but I only found a way to use different style sheet for phones and tablets. Is there a way to create another different theme only for mobile phones and tablets? And I'm ...
0
votes
0answers
23 views

Can I have a widget and sidebars in custom theme?

Wordpress 4.1.1: simular problem to another question: I have a add_action widgets_init call back in which I have a call to register_widget that registers a class and a call to register_sidebar that ...
0
votes
1answer
28 views

erase post excerpt limitation [×]

i have a custom site in homepage have problem of post excerpt with max 35 word, now i want eliminate this limitation, after search in varius file the limitation and after individuate i have changed ...
0
votes
1answer
30 views

Recent post in the middle of the content

My site has a static front page and a blog. I'm using the Foundation5 grid and I've split the content of the homepage onto three rows, like this, and I'm updating both the content and the html in the ...
0
votes
2answers
20 views

How to prepare the HTML for Wordpress [on hold]

Right now I'm finishing a design in Photoshop and I'm about to turn it to HTML. After that I'm want to turn it into a Wordpress theme using Underscores starter theme. How can I prepare the HTML so the ...
2
votes
1answer
40 views

get_option function

I'm currently trying to make my own theme, but i'm not quite sure how the get_option() function works, because how come this.. echo get_option('show_header', 'sultenhest_theme_display_options'); echo ...
0
votes
1answer
17 views

Avoid theme updates, just one theme

I stupidly created a ton of websites with custom themes (not child themes, 100% custom) and named my theme folder "custom". Now they are starting to auto-update and get replaced with some theme from ...
0
votes
0answers
17 views

Add crop function to media upload

I'm making my own theme and i basically copied this image upload: http://www.webmaster-source.com/2013/02/06/using-the-wordpress-3-5-media-uploader-in-your-plugin-or-theme/ ..but since its for a ...
0
votes
1answer
10 views

Excerpt for pages not showing

I am creating a simple wordpress theme and need excerpts for pages. I have tried the code from many topics some resolved on 'wordpress SO' but nothing works. Because I created the theme from scratch ...
0
votes
0answers
65 views

Upgraded from roots to sage and now have an error in functions.php [closed]

Upon upgrading from the roots theme to sage (which now requires at least php 5.4), it's giving me an error: Parse error: syntax error, unexpected '[' in .../functions.php on line 12 The code that it ...
0
votes
0answers
16 views

Customizer API way function is_customize_preview() works only in main page?

Dear wordpress developer, Thanks for create incredible API like Customizer :) but I have little problem. In customizer preview view function: is_customize_preview() when I'm in home page return true ...
0
votes
0answers
19 views

page.php is not called when I load a Page

page.php is not called when I load a Page from my theme. However if I switch to the default wp theme and reload the page (not post), then only my header and footer are displayed. I added some text ...
-2
votes
0answers
18 views

Resolved :Redux adding JSON data to body when I change anything during LIVE PREVIEW mode of WordPress [closed]

verything was working fine and I updated my redux through redux builder from 3.3.4 or .6 to 3.4.1 then something went wrong with Live Preview while everything else is fine. Redux Version Version: ...
0
votes
2answers
26 views

How to figure out which wordpress theme a site was using?

I create 20-30 WP sites a year. Often when I am specing out what the person wants they give me an example site from the internet. We want "that" but with our look. I can create "that" but it seems ...
0
votes
1answer
12 views

Menu order of parent menu from perspective of child menu

I have developed a theme which has a parent menu and a sub-menu. It looks something like: Main menu ==> category | price | depot sub menu for category ==> tag| name | date ...
-5
votes
0answers
21 views

Suggest me themes for E-commerce for Wordpress [closed]

Hello I am new in wordpress i need to design my site like this. Please suggest me appropriate themes for it. Main functionlaity of my site exactly like given in this page
0
votes
1answer
13 views

Extract and display user infromation on an automatically created page

Is there a way to get the block of code below to extract a list of given user information as it creates the page for the new user. It creates new page for new user as supposed but I'd like it to alos ...
0
votes
2answers
25 views

Using $post->post_name in body id causing error: Trying to get property of non-object

I'm getting the following error in my debug.log: PHP Notice: Trying to get property of non-object in /my-wesbite/wp-content/themes/express/header.php on line 36 This is line 36 of header.php in my ...
0
votes
0answers
8 views

Customizer API and add_panel(). Panel doesn't show

I try to add panel to my customizer but code below doesn't work (panel don't show in customizer container). My code: add_action( 'customize_register', 'customizer_test' ); function ...
0
votes
3answers
37 views

wp_redirect() - headers already sent

I am trying to use wp_redirect() to redirect the user after successfully submitting a signup form on the page. It's not working and shows the following error: Warning: Cannot modify header ...
0
votes
0answers
15 views

Flexslider not working for my theme

I had an issue with the border of iframe which i resolved by putting the following code in the css in the custom css : frame { border: none!; important } However, when i undo the code ...
0
votes
0answers
10 views

Strange class change, sub-menu to children

I am working on a theme for Wordpress. I just uploaded my whole Wordpress installation (including the theme) to a web host so that I can test my theme public. I have added some css behaviour on the ...
0
votes
0answers
13 views

How to add large backstretch banners to pages

I would like to have banners that break up my pages, inside these banners I would like to be able to add quotes. Can anyone tell me how best to achieve this? Ideally this isn't me simply adding banner ...
0
votes
1answer
14 views

Is there a way to retrieve the calling template part?

If I include a template part within header.php like this: <?php get_template_part('templates/social-icons'); ?> Is there a way to retrieve the template name header.php within this ...
0
votes
1answer
24 views

Advantages/Disadvantages Using Theme Editor Instead of Pages

I'm working on a site and I prefer to create the site using the WordPress pages system. A co-collaborator assisting me with the site prefers to add pages using Theme Editor. My first thought what is ...
0
votes
0answers
15 views

Wordpress theme line 2 error - only on certain feeds

I am developing my own theme and I am currently running WordPress 4.1 When I browse to /feed I get errors in my browser. Chrome: This page contains the following errors: error on line 2 at ...
0
votes
1answer
21 views

Unwanted empty line at the beginning of document

I have an unwanted empty line at the beginning of the document and I can't find the reason why it is happening. For default HTML I wouldn't have minded it but RSS doesn't work. I disabled all the ...
0
votes
2answers
30 views

How to sanitize select box values in post meta?

I have added a select box in the Post meta. Here is the code, and it works fine. My question is, do I need to sanitize the values before updating the post meta? If yes, how it should be done? This is ...
-1
votes
0answers
21 views

Not Founded Add New theme button

I have default wordpress theme that i want to upload in my worpdress account to use. I search on internet for my problem and every where i founded that i need ADD NEW button under the APPEARANCE ==> ...
1
vote
2answers
448 views

Does WordPress count as a means to learn web development? [closed]

I'm learning to make themes in WordPress, basically with CSS only. I don't feel like I'm learning actual web development (front end). I don't see how I can incorporate JS into themes, because it seems ...
0
votes
0answers
15 views

twitter widget loads properly in all themes except my own theme?

I've written my own theme for my wordpress website. The problem is that the twitter widget loads properly in all the themes except mine. Below is the attachment of the widget in both the themes - ...
0
votes
0answers
10 views

Creating a new elegant builder module?

Hi I am using elegant builder on my site and would love the ability create a new module, I basically want a text module with some custom styles applied before and after. I have contacted elegant ...
0
votes
0answers
27 views

Load a Child Theme's style.css just before the closing </head> tag

I have this in functions.php: <?php /* Import parent style - The new standard Wordpress way - No @import in CSS! */ add_action( 'wp_enqueue_scripts', 'theme_enqueue_parent_styles' ); function ...
0
votes
1answer
49 views

Magnific Popup - Add Caption to Images

My theme uses Magnific Popup as follows in theme.js /* add lightbox for blog galleries */ $(".gallery a[href$='.jpg'],.gallery a[href$='.jpeg'],.featured-item a[href$='.jpeg'],.featured-item ...
1
vote
1answer
76 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
1
vote
1answer
24 views

Understanding and using metaboxes in posts

I am developing my first theme that is not dependent on a parent theme but I am running into some back-end problems. I'm trying to add a metabox to all posts that are being written. This question is ...
1
vote
1answer
13 views

Is there a way to list all actions registered by a plugin or theme?

I'd like to override a function registered using do_action() by a third party theme or plugin. remove_action() looks to be the way to do this but its not working in my particular case. Is there a way ...
0
votes
2answers
17 views

Best way to allow for extended use of Wordpress functions inside single.php

I am building a more-or-less distinguishing layout which forces me have a header far above the content in the DOM. A structure as follows: <?php get_header(); ?> <div id="wrapper"> ...
0
votes
1answer
35 views

Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]

This is a code set I copied from Twentyeleven theme. <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> ...
0
votes
1answer
35 views

Specify a particular page to list all custom types

In WordPress I can specify which page is used as my home page and which page will list all my posts. I have created a Custom Post Type called 'Property'. I know I can access all of the posts with the ...
0
votes
0answers
24 views

TwentyFifteen color schemes with custom header default-image

I'm writing a child theme off twentyfifteen and customizing the color schemes. What I'd really like to do is change the default custom header image when the user changes the color scheme. This seems ...
0
votes
1answer
70 views

page.php showing loop of posts and not page content

My front page displays the latest posts using index.php. My page.php contains the wp_header up top, the wp_footer below, and this in between: while (have_posts()) : the_post(); ...
0
votes
1answer
22 views

Get title attribute from galleries

I managed to get all the images of a gallery from another page using get_post_gallery() and I entered a description for each of them in the edit gallery window. I tried using get_image_tag() to get ...
0
votes
1answer
29 views

Create image with imagepng() (fails at header)

I've been struggling with some code for a custom theme. The result: Create an image with text. The problem: Fails at header: code on production. The funny this is that the function works perfectly ...
0
votes
1answer
25 views

Injecting pre-defined text from custom page template to editor

I am creating a custom page template: < ?php /* * Template Name: sliding content * Description: Sliding category contents */ get_header(); ?> <div id="primary" class="content-area"> ...