A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a blog.

learn more… | top users | synonyms (2)

0
votes
0answers
58 views

Safe way to echo wp_trim_words

Is this unsafe to echo as following in the theme? $excerpt = get_the_excerpt(); $trimmed_excerpt = wp_trim_words( $excerpt, 30); echo $trimmed_excerpt; If yes, please let me know what is the safe ...
0
votes
1answer
27 views

Theme styling for plugins

I have a plugin that has it's own CSS for the content generated when you use the associated short codes. I am trying to create a theme to re-style the front end of my site but as this plugin has its ...
0
votes
0answers
629 views

two wordpress sites, two themes, one database, same content

I am doing research about wordpress and there are many interesting stuff to learn, i browse the wordpress forum and i found a post about duplicating site.. or multisite.. I am not sure exactly how it ...
0
votes
1answer
39 views

Unable to upload wordpress plugins

I try to upload WordPress Plugin from my computer for my theme in localhost, but I receive Following Error The uploaded file exceeds the upload_max_filesize directive in php.ini. I am also ...
0
votes
1answer
326 views

Change the main width of Twenty Thirteen theme

I would like to reduce the main width (including the header) of my Twenty Thirteen website, and change the color of the outside (in sort, something similar to the Twenty Twelve theme: https://...
0
votes
0answers
205 views

unable to edit css after use of Moesia theme

I am new to wordpress and I had made a small site that worked fine with my child-theme of twenty thirteen. Then I tried to use another theme called Moesia but after a few hours I just wanted to switch ...
0
votes
2answers
66 views

I want to use wordpress themes and plugin to develop website

I want to develop website. Using wordpress. But i've one question. If i use wordpress themes and plugins. Is there will be any issue regarding copyrights of that theme or plugins. I'll use free themes....
0
votes
0answers
394 views

calling a function from a class in your template

ok, so I have created a plugin in Wordpress. I want to be able to use some values I have created in a function within my template but I just don't seem to be able to get it to work. I have created my ...
0
votes
2answers
487 views

Making wordpress menu horizontal [closed]

Hey guys am new to wordpress development actually.I am trying to make my wordpress menu horizontal at the top below the title name. My header.php In my header file i have assigned the menus with a ...
0
votes
1answer
95 views

How to migrate the menu from the site on my own theme in Wordpress?

I'm a novice at WordPress topic and now I'm trying to figure out how to migrate the part of the design (I've decided to begin with navigation bar menu on the top) on this site to my own site based on ...
0
votes
1answer
527 views

Background image not showing up

Hey i am developing a wp theme from scratch.I want to set a background image. So i have declared some css code inside the body but it didnt works actually.. The code is header.php <body <?...
0
votes
3answers
62 views

How to remove current theme customizations

How can I delete my current theme and all its customizations so that I can use a new theme from scratch? In other words, how can I use a new theme without it loading the old theme's customizations?
0
votes
2answers
113 views

Changing the title of post with code

Am actually new to wordpress development. I am just trying to change title of the individual post..So i have used the function get_the_ID() to fetch a specific post. I know the name of the title can ...
0
votes
1answer
77 views

Change theme's thumbnail to cropped WP featured image

The theme I'm using, when browsing a particular category, displays the full featured image (even if it's more than 1000px high), resized to max-width:20%. However, I'd like it to display just a ...
0
votes
1answer
33 views

How to display post meta data in secure manner

I have have a custom post meta field where I can add a embedding code (a video for example, an iframe). Now I want to retrieve the code from the post meta and display it securely. I can display it ...
0
votes
0answers
73 views

Mix and matching themes?

Okay, so I have a bit of an issue. I have customized a theme for someone, but they have decided they would like to use a different theme (I suppose for what the theme itself has to offer), but they ...
0
votes
1answer
45 views

Showing custom field contents without listing description

I'm customizing a directory theme and my custom fields appear only if I put some text at the company's description, otherwise it will show nothing... Any idea how to fix that?? I think the problem ...
0
votes
0answers
111 views

Microdata based on php content

I'm trying to add microdata to a bought theme. This is the microdata of a local business: <div itemprop="sourceOrganization" itemscope="itemscope" itemtype="http://schema.org/LocalBusiness"> &...
0
votes
1answer
146 views

Query custom post type and showing its content

I am a newbie in developing wp themes and having troubles showing my cpt. I added new cpt in my functions.php file: // Creates Testimonials Custom Post Type function testimonials_init() { $args =...
0
votes
1answer
52 views

Execute filter in theme as last

Is it possible the execute the called add_filter in theme after all plugins they've been loaded? I use one of the plugins from repository to can add the ability to define custom target links for ...
0
votes
0answers
382 views

Scale then crop image during Post Thumbnail upload

I'm currently building a theme that has a full width slider displaying each post's thumbnail. In order for each picture to be at the same size, I'd like WordPress to automatically scale up/down to a ...
0
votes
0answers
159 views

Incentive theme - Getting ’You do not have sufficient permissions’ while trying to install plugins

After making a clean install of wordpress and theme folowwing the installation guidelines from readme.html, I can not install the WPBakery Visual Composer and Revolution Slider plugins because I get ...
0
votes
2answers
145 views

Theme stops media uploader from working

I took over a website from a previous developer that built most of the site. Because the theme was a custom one, he chose to do it using Toolbox. The site has been standing for just over a year, and ...
0
votes
1answer
132 views

theme continuous deployment from bitbucket to windows azure

I need to set up continuous deployment of a wordpress theme controlled via bitbucket to a Windows Azure hosted wordpress install. One of the sites I run has had a external agency develop a theme that ...
0
votes
1answer
142 views

Import from HubSpot COS into Wordpress 4?

I've been having zero luck finding any information on how-to migrate an existing site (HusbSpot COS) into a WordPress site. Does anyone know of any existing documentation (or suggestions) on the ...
0
votes
0answers
584 views

'Add New' button not present

I am trying to install a Wordpress theme to my site, however no 'Add New' button is showing, as in this screenshot: The same section in my Admin Panel looks like this: I've done some searching, ...
0
votes
1answer
206 views

current_user_can('manage_options') causes white screen of death?

The condition if(current_user_can('manage_options')) causes white screen of death, and for obvious reason I cannot track the error, and debugging didn't yield anything. I am pretty sure the condition ...
0
votes
1answer
47 views

Child Theme Changes Are Not Reflecting In Parent Theme

So I've recently moved my Wordpress.com blog to Wordpress.org. I was using a Child theme via a Plugin and changed a bunch of the CSS, but when looking at the parent theme, nothing ever changed. No ...
0
votes
1answer
527 views

Hide cart when empty [closed]

Could someone help me with this syntax: At the moment I have a simple link to my shopping cart like this: <?php if ( is_woocommerce_activated() && isset( $woo_options['...
0
votes
0answers
128 views

Automatic updates of plugins and themes outside of wordpress.org

I'm finding it surprisingly difficult to find any info on standardized ways of updating a "private" plugin that does not exist in the wordpress.org repositories. I've seen -- and bought -- plenty of ...
0
votes
0answers
47 views

Changing themes on locally hosted webpages

I recently turned my Raspberry Pi into a web server, and now I installed Wordpress on it. Everything is going excellently, but when I went to change the theme from default, I found I need my hostname, ...
0
votes
1answer
180 views

Warning: Creating default object… when altering Customize panels

I'm trying to move my theme's [only] widget area outside of WP 4.0's nested "Widgets" panel by doing the following: $footer_widgets_section = $wp_customize->get_section( 'sidebar-widgets-...
0
votes
1answer
56 views

pluggable function in theme, to be overridden by plugin

Is it possible to add a function in functions.php like this: // ACF if ( !function_exists('get_field') ) { function get_field() { return false; } } and then let ...
0
votes
1answer
381 views

Change avatar on themed profile page

I'm using the Theme My Login plugin and trying to allow subscribers to change their profiles to one uploaded from their computer. I've tried the following plugins: Simple Local Avatars ...
0
votes
0answers
36 views

Random text changing to weird icons in both admin & front end

Has any body had this sort of problem before. The text mainly in input field descriptions turns to weird icons see image. I have deactivated all plugins and changed themes several times but same ...
0
votes
0answers
232 views

Change whole theme depending on resolution

Is it possible to change whole theme depending on resolution? I have different theme for mobile users. I need to change theme to mobile when user has for example smaller than 600px resolution. Theme ...
0
votes
1answer
33 views

Register a widget area when a theme option has been saved?

Is it possible to register a widget area and sidebars when an option has been selected and saved in a theme options panel? I am using a framework called redux but am not too sure if this can be ...
0
votes
1answer
131 views

WordPress Theme Migration Local to Live Assets Not Loading

I have a fully working custom WordPress theme built off underscores served up locally via MAMP. Normally when migrating to a live server, I move over the wp-content directory and the .sql file, find/...
0
votes
0answers
55 views

Input gets deleted/overwritten after changing to different Admin Menu

After I have added a plugin menu and have some input to be saved in the database, everything works fine and gets saved, even if I refresh the current page. However, once I go to other menus in ...
0
votes
0answers
274 views

A real way to override BuddyPress files in a WordPress plugin

Is there a working (must be) way to override BuddyPress template files in via a WordPress plugin. I know it can be done using a theme, but is it possible to do it with a plugin? I'm really eager to ...
0
votes
3answers
108 views

Creating themes using the one Plugin (Toolkit)

I'll try my best to explain what I'm trying to achieve. I haven't been developing with Wordpress for a while and I've hit a bit of a wall. I'm looking to get into making Premium Wordpress Themes. ...
0
votes
0answers
9 views

How to access page list themes

I am modifying a WP theme. How do I access the list of WP pages? (As in what functions do I use?)
0
votes
1answer
189 views

Add a Submenu from Another Submenu in a Custom Theme

Good day everyone! I would like some help from you since I'm just a beginner in WordPress. I would like to add a submenu under another submenu like this: International China Independent Group ...
0
votes
1answer
50 views

Removing categories, Comments etc from posts?

im wondering if there is a way to completely remove this feature from my website as i have no need to categorise any of my posts - i plan to post projects in pages from my left sidebar with a static ...
0
votes
0answers
40 views

Lost for direction on how to continue building a theme

I'm a complete beginner to WordPress. I decided to start building a theme. I've got the very basics down (header, sidebar, content, footer) but I just cannot find any direction on where to look for ...
0
votes
1answer
77 views

Incorrect search results in search.php – issue triggered by using `define('BodyID', 'search'); the_post();` in search.php

I have a problem where the page title is not picked up in search results. I've narrowed the problem down to the following line of search.php in my custom theme. define('BodyID', 'search'); the_post()...
0
votes
0answers
715 views

Wordpress Site access from other machines on same network

I developed a Wordpress website on my local computer using 'Wamp' server. I'm now trying to put it on a local server at our work so that others can look at it / access it from their work stations. We ...
0
votes
1answer
148 views

Save/retrieve form data best practises for theme development

I'm building a theme and I have a custom page template with a <form> which is for the vistors to fill in and submit. I'm processing the data with help from hooks and this is all separated from ...
0
votes
1answer
47 views

post_prev & post_next within same category

In my single blog view, I only want to show the Prior and Next buttons within the same category the current post is in. I thought I could just change these two lines thus (set first term to true). ...
0
votes
2answers
49 views

Revamping a Wordpress mirror site - and I don't know where to start!

I have taken on a job at a language school in Spain that has asked me to revamp their website for them. From what I know, the previous designer has done a runner with the details of everything but ...