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
1answer
337 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
0
votes
0answers
18 views

Wordpress Multisite

Was hoping someone could clarify something for me. I am planning on purchasing say 4 separate themes. Structure will be www.mainsite.com site1.mainsite.com site2.mainsite.com site3.mainsite.com ...
0
votes
0answers
58 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
25 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 ...
-1
votes
0answers
33 views

where to find database integration code (query code) in wordpress theme?

I am new to wordpress. I have downloaded a book your travel theme and confused to locate from where this theme is communicating with database. It register sucessfully, update table before final ...
0
votes
2answers
408 views

Get data from Theme Options and use them into meta options field in custom post type

I want to grab data from my theme options and have to use them in meta option fields in custom post types. I know how to grab theme option data and show them on front pages but don't know how to grab ...
0
votes
4answers
77 views

Add js into a theme [closed]

I am trying to create new WordPress theme from scratch. I have working html, css and js files. To add JS into wordpress theme I used: function my_scripts_styles() { wp_enqueue_script( 'easing', ...
0
votes
1answer
467 views

How can I change the prev / next buttons text to Dutch?

If you look to this page everything is alright except the previous and next buttons text are in English. Does anyone know how I can make them display in Dutch? I already tried to change them but no ...
0
votes
1answer
52 views

Define theme information other than through style.css

I'd like to define a theme's information through other means (i.e., xml, plain php, yml, json, etc) - Is that possible? If so, how? By "theme information" I meant the following: /* Theme Name: ...
0
votes
1answer
37 views

Website redesign - New theme - Help needed

and thanks in advance for reviewing this request This is my website https://www.recepti-kuvar.rs/ A recipe website, with 350+ recipes and 100+ registered users submitting new recipes every day ...
1
vote
1answer
406 views

Page has a parent and $post->post_parent returns 0

I have several pages with a parent. So, $post->post_parent should be different than 0, right? echo $post->post_parent; Is returning 0. Thing is, this is only happening in one post category. ...
0
votes
2answers
16 views

Remove Commenting on Certain Pages

I have created some pages in wordpress like "Contact, Photo-Gallery, Services". Problem is - on every of those pages at the bottome there is a form for commenting a page. I do want to have this ...
1
vote
1answer
30 views

How does WordPress load themes? It doesn't see mine (symlinked)

I'm storing my theme in Dropbox, normally i just create a symlink in: wp-content/themes to the directory in Dropbox and everything is fine. It works well on my PC (XAMPP), it works well on Mac ...
1
vote
1answer
86 views

What's the proper way to include inlined javascript-source?

I'm making a theme where I'm including a javascript-lib which wants to be loaded/instrumented with a potion of generated code at document.ready()-time. Generated because some theme-options are ...
2
votes
3answers
657 views

How to export/import theme customizer settings?

I am wondering if it is possible to export theme customizer settings(theme_mods) to be imported into another install of the same theme. I know that the settings are saved into the database so I am ...
1
vote
1answer
38 views

changing behaviour of get_search_form

I created a function to display a search box and named it my_get_search_form() that is a copy of original get_search_form() function. when I call the function, the output is this: Search in ...
0
votes
0answers
74 views

Embedded Videos (PB) - Not Available

I am using this link to create a wordpress website VIDEO At minute 53 the guy is using "Embedded Videos (PB)" widget in order to embedd a youtube video. (By the way he is using Page Builder). Problem ...
0
votes
0answers
62 views

WordPress custom setup with “uploads” folder on a separate server; and “themes” and “plugins” on two different servers

I am setting up a WordPress site on Linux (and using Amazon AWS if this matters to you), and would like to do it as follows: A separate server for the DB server A separate server for the "uploads" ...
2
votes
4answers
8k views

Different template of products for specific category. WooCommerce

For example i have category coffee machines, and one template for coffee machine single product template, but for category coffee i want to have different single-product.php template, how to implement ...
4
votes
4answers
333 views

Why do themes rely on “The Loop”?

I've been looking at Wordpress themes development recently, and I'm trying to understand why Wordpress is coded with "The Loop", rather than providing an array of posts that you can loop through with ...
0
votes
1answer
45 views

Understanding wp_enqueue_style

I am trying to understand how wordpress works, but I am having issue understanding how wp_enqueue_style(), wp_enqueue_script() works in relation to page output. From my understanding, these functions ...
0
votes
1answer
25 views

Wordpress pulling in random page themes

I have a website that has multiple custom templates -- a variety for pages and a couple for custom post types. However, WP is now screwing it all up. For instance: All of the pages that were setup ...
0
votes
4answers
142 views

Is it possible to stop a theme activation when a certain plugin is not activated

So I am planning a theme that will depend on a plugin (for instance Timber or Themosis). So of course a theme will break if it can't use it's depending plugin's. So I would like a way to stop the ...
0
votes
1answer
361 views

Error when installing theme - “failed to open stream: No such file or directory in…”

I'm trying to upload and install a custom theme, and have encountered an error I've not seen before. Warning: ...
0
votes
1answer
32 views

html5-reset theme does not show the image [closed]

I am started to create a custome theme based on the HTML5-reset theme that a downloaded from GitHub. before touching/modifying anything, just I tried to put an image under the get_header(); and above ...
3
votes
1answer
729 views

Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying

I am registering sidebars and sidebar widgets. The theme currently supports two sidebars. Primary and Secondary. add_action('widgets_init', array($this, 'add_sidebars'), 10, 2); public function ...
5
votes
2answers
114 views

remove_action on after_setup_theme not working from child theme

I am trying to remove a theme action for an elegant-themes theme using a child theme.. This works when I remove action after add_action code anywhere in the parent theme functions.php. However, it ...
0
votes
0answers
15 views

How to add 'Drag and Drop' features in Wordpress?

I would love to add drag and drop option for my wordpress themes. May I have the guidelines on how to do this?
0
votes
1answer
26 views

Managing Wordpress Theme

A Wordpress theme has following components: theme.zip file demo-content.xml PSD.zip file (contains files such as icon-blog.psd, icon-home.psd, integrity-blog.psd, ... renew-home.psd) Using WP ...
0
votes
1answer
30 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
25 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: ...
0
votes
0answers
20 views

Failed to import wordpress xml and media

I am trying to import a wordpress site into a woo theme. The original site from which the imports where made no longer exists but I have the media folder which I uploaded to the new site. I changed ...
0
votes
2answers
45 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 ...
0
votes
0answers
56 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
0answers
23 views

How to add hyperlink with meta-information to each post?

I'm a novice at Wordpress as a developer and I need to have a hyperlink in each post which will add post in different collections (with usage of post2post plugin). Is it possible to do so if I'm ...
0
votes
4answers
227 views

Theming Using Bootstrap Glyphicons and WordPress Dashicons

I use a mixture of both Bootstrap Glyphicons and WordPress Dashicons in my WordPress themes. However, something which really bugs me is how the WordPress Dashicons don't seem to scale appropriately ...
0
votes
0answers
30 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
1answer
31 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
3answers
28 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
46 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
39 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
2answers
39 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 ...
1
vote
1answer
77 views

The problem with Wordpress Importer

I've tried many times to upload theme-unit-test-data.xml from http://codex.wordpress.org/Theme_Unit_Test But when I'm trying to upload this file in WordPress Importer it gives me an error saying: ...
0
votes
1answer
862 views

header.php-tweak: How to do that getting Meta-Slider into the header-center?

update - the header.php in question: question is: where to add the new line <?php echo do_shortcode("[metaslider id=36]"); ?> at the moment i do not know where to add.... <?php // Exit ...
0
votes
1answer
34 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 ...
-2
votes
1answer
79 views

Self-hosted Plugins & Themes store with auto-updates? [closed]

I'm looking for a way to self-host a WordPress Plugins/Themes store (ideally at no cost — I am but a poor developer!) with the following features: Sell Plugin/Theme downloads Auto-updates for sold ...
1
vote
1answer
695 views

Adding WordPress colorpicker in widget settings

I want to add the WordPress default colorpicker in widget settings form. Here's what I'm trying: In my functions.php, I have this: function widgets_scripts( $hook ) { if ( 'widgets.php' != $hook ...
12
votes
1answer
4k views

Custom Post Type Templates from Plugin Folder?

I'd like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates -- such as single-movies.php -- reside in the theme ...
2
votes
1answer
258 views

Two Navigation Menus - secondary nav is including main nav

Two Navigation Menus in Themes Produce the same menus? reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
3
votes
2answers
477 views

Get url of thumbnail from the media uploader

I want to select image from the WordPress 3.5 media uploader. I can get the image URL with the following code, but it gets the full size image. I want to get the thumbnail image url,how can I get ...