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
30 views

Widget configuration inside theme

I need to change my theme on the fly (for mobile version I have a different appearance), but widgets are not saving correctly. I tried to configure widgets from the theme, but this method doesn't ...
-2
votes
1answer
66 views

Why is my container argument not working for wp_nav_menu() [closed]

The following code outputs a menu but the container <nav> tag is missing. $menu_settings = array( 'menu' => 'Packages', 'container' => 'nav', 'container_class' => '', ...
1
vote
0answers
35 views

Adding custom input field in menu backend [duplicate]

How can I add the custom content in the menu items in the back-end. For example I want to add another input field and save it. I could not find any information in the Codex.
0
votes
1answer
17 views

Permission error in wordpress

I am completely new to wordpress. I just installed it and wanted to change the theme of my website and I get following error: Installing Theme: Klasik 0.7.5 Downloading install package from ...
0
votes
2answers
87 views

Accidentally deleted php code in Wordpress website [closed]

I have a website: www.convert2latex.com . While trying to remove the "continue reading", I accidentally deleted some code and updated it in the theme editor's functions.php. Now the website does not ...
0
votes
0answers
21 views

No Styles Working on Wp-Signup.php [MU]

I'm not sure why, and it's kind of putting me off getting into theme development, but I can't seem to work out how to customise wp-signup.php? I have looked everywhere on the internet but I can't find ...
0
votes
1answer
109 views

Advantages of wordpress theme vs wordpress as a backend only

I've been wondering what would be the best option: Creating a wordpress theme Using wordpress only as backend and using a MVC framework for the rest I've never worked with wordpress themes ...
1
vote
1answer
61 views

Parallax WordPress theme without hardcoding - possible?

I want to develop my first Parallax WordPress theme, just for the fun of learning this stuff. I found this snippet: http://jsfiddle.net/cse_tushar/Dxtyu/141/ It lets the user click on a menu item ...
0
votes
0answers
12 views

Custom Images - Creating Larger Versions

Playing around with the add_image_size for my theme, it works a treat for large images, crops them nicely, however if someone uploads a tiny image, I'm trying to make the size increase or at least ...
-1
votes
1answer
29 views

Why am I getting posts back when I shouldnt

I have the the following variables being populated: $posts = wp_get_recent_posts(array ( 'numberposts' => 4, 'post_status' => 'publish' )); $categoryPosts = wp_get_recent_posts(array ( ...
1
vote
1answer
18 views

Can I install a theme on only one site of a multi-site network install?

I'd like to install a theme on only one site of a multi-site network install. Is there a way to do that?
0
votes
1answer
24 views

Create a Page template selector page

I'm running around with an idea in my head that I would like to make but I don't really know how or where to start. In a custom theme I had to make serveral templates for one of my clients. I ...
0
votes
1answer
23 views

Can you create a custom page with content in the center already defined?

Is this possible? So for example, you select from the templates a page called "custom-blog-home" and on this page in the centre you have two section, one is a set of blogs being pulled in and styled ...
1
vote
0answers
59 views

Troubles with Walker_Nav_Menu and closing <ul>

I have an existing site that I am moving into Wordpress. My requirements state that I do not have the ability to change the HTML or CSS. I have a sidebar menu that I am trying to recreate using a ...
0
votes
0answers
41 views

How to put multiple blog posts on front page?

The theme image looks like this: But my blog looks like this: How do I get my theme to have multiple blog posts on the front page instead of one image down the entire page like a blog and less ...
0
votes
0answers
213 views

Child theme - Overriding 'require_once' in functions.php

I am attempting to modify a wordpress theme with a child theme. My parent theme has the following function in its functions.php: require_once(get_template_directory() . "/includes/theme-styles.php"); ...
0
votes
0answers
30 views

How to get that “header rollover” effect in a page?

Some modern websites, when you scroll down from the top, the text will slide up over the header, leaving only the title and navigational tools. What is that "roll over" effect called and how is it ...
0
votes
1answer
49 views

How to retrieve images attached to post through media library?

I have been struggling to retrieve image attachments to specific post without success until I found that images inserted into the post via media library are not treated as attachments. That is, you ...
0
votes
1answer
79 views

Use random theme

I am thinking about random theme from 2-3 selected themes, which is shown for new user and saved to cookies or ip, to not show other theme for him again. Just show random themes for new users, so I ...
0
votes
0answers
142 views

jQuery Error wp-admin/nav-menus.php?action=locations

I have an error with wp-admin/nav-menus.php?action=locations no matter what page i am on i will get the following error inside the google chrome console. Uncaught Error: Syntax error, unrecognized ...
0
votes
0answers
86 views

How To Make Wp Dynamic Sidebar Like twentytwelve Theme

im new in wordpress and trying to create wordpess theme which can be used in any wordpress blog ,im following twentytwelve Theme as my theme example but when i try to create sidebar it does not work ...
2
votes
3answers
494 views

WordPress as Backend, Laravel Front End: How to connect Routes?

I am going design a site and I though about using wordpress for it as the clients want to be able to edit the content and they are not very up to date with the latest technologies, so I though that as ...
0
votes
0answers
20 views

WXR error in XML import attempt

I am desperately trying to import my .XML file from my local development database onto my real site. I am getting a Sorry, there has been an error. This does not appear to be a WXR file, ...
0
votes
1answer
125 views

How to get $post object available inside functions.php to localize script?

I have a problem with a wp_localize_script in my functions.php file. I am trying to get a script localized for a custom post type ("gallery"), however, the error emerges that I am trying to access a ...
0
votes
1answer
79 views

Remove h1 from 2015 theme

I'm a Wordpress newbie! I have two h1 when I list my site categories using a URL of the following format: http://www.example.com/category/YYY I get a HTML page with a header of Category: ...
0
votes
1answer
58 views

Update status of all posts in a category

For one of my project I just want to change the post status of all the posts inside a specific category from publish to pending. It is possible to change status of multiple posts at once? I want to ...
0
votes
1answer
14 views

Never actually adding the action? Or do I have to call the action?

I have the following class that is instantiated in the function.php file. In the constructor I am setting up a activation and a deactivation hook for the theme. How ever neither seem to be called when ...
1
vote
1answer
392 views

“Cheatin’ uh?” error message on multple theme directories

In my wp-config.php I've added another theme directory; register_theme_directory( dirname( __FILE__ ) . '\..\themes' );. I'm not sure if this is the correct place to add it. When I then try to ...
0
votes
0answers
27 views

Copy the other files or folder into child theme

It is possible to include or copy other files/folder in child theme from parent theme? Like, css folder and js folder? Because I made some changes to those folder. Thank you
0
votes
1answer
33 views

Determine Featured Image Size in header

I was using thumbnails of 192 pixels square but want to change the size to 235 pixels, the Regenerate Thumbnail plugin does not upsize so since I want thumbnails above 200 pixels to use the Twitter ...
1
vote
0answers
27 views

Depending on third party plugins for theme functionality

I am building my own theme (first premium theme) and I admit there is lots and lots of decision making involved. One such decision where I am currently stuck is about using open source plugins for ...
0
votes
0answers
19 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
38 views

What Generated Classes and IDs That Is Always Used On All Themes?

Just wondering if there is a way to get a complete list of wordpress generated css classes and ids that is always automatically assigned to any themes. I've read here, but it seem not list them ...
0
votes
0answers
20 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 ...
9
votes
2answers
2k views

How to move the sidebar in TwentyFifteen to the right?

Is it possible to move the sidebar in the TwentyFifteen theme to the right using a child theme and CSS only, or does it require changes to the theme itself? The main issue I'm running into is that I ...
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 ...
0
votes
4answers
143 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
64 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
55 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 ...
0
votes
2answers
17 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 ...
0
votes
0answers
362 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 ...
1
vote
1answer
109 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 ...
1
vote
1answer
53 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
400 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
1answer
69 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
32 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 ...
1
vote
1answer
123 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
1answer
40 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 ...
6
votes
2answers
736 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
19 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?