Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
0answers
12 views

Class .current-menu-item in custom menu Walker

I'm building a blog using a custom walker for my submenu which looks like this: class Submenu_Walker extends Walker_Nav_Menu { function start_el ( &$output, $item, $depth = 0, $args = ...
0
votes
0answers
10 views

How to link between index pages

Current situation: I have my theme that has a index.php file and I am using get_template_part('index-parallax') to get that template file. This is what's expected. Now the index-parallax.php page ...
0
votes
1answer
22 views

Renaming wp_content problem

I am setting wordpress in a custom way and having issues with renaming wp-content. Here are the details: I am using Amazon AWS as my environment. The default web root is /var/www/html/. Within that ...
0
votes
1answer
12 views

Create a google friendly header with text and logo

I want to customize my current header in wordpress and include a logo in it. The following solution works: <header class="site-header"> <div class="wrap"> <a ...
0
votes
0answers
16 views

Editing theme's CSS: how am I able to edit cached CSS file?

I just faced that the CSS element I'd like to change placed in the temporary file: The file name is: ...
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
1answer
9 views

Disallow “contributors” to edit their own posts once they've been set to “Pending Review”

My question is exactly what is in the title: how can I disallow "contributors" to edit their own posts once they've been set to "Pending Review"? I can't seem to find any documentation on how to do ...
0
votes
1answer
33 views

Change “empty trash” button text?

I was able to find information on how to change the edit views text but so far I've come up empty with changing the text of the "empty trash" button. I'd like to change it for my task management CPT ...
0
votes
1answer
37 views

Add custom items in Breadcrumb NavXT [on hold]

On my blog, I'm using Breadcrumb NavXT plugin. It works great. On a specific portion of my site, I'd like to replace the normal breadcrumbs by custom ones. I have an array with the "parent" URLs, ...
-2
votes
0answers
20 views

How to display the 'key' as well as 'value' in custom fields

I'm using the following to display custom fields on the front end however, it only shows the 'value' How can I get it to also show the text contained in the 'key'? <?php // Display Custom Field ...
0
votes
1answer
13 views

Add several fields from different tables to post, fields per post are in same row of table

I like to add 4 or 5 extra fillout boxes to the adminpage of my post... For example, under the actual page box, I would like to add the following fields: Name position publications freetext Here ...
0
votes
1answer
24 views

Deep customization of wp-login.php

I'm developing an intranet platform (so no external web access) and using the Password only login plugin. I need to make a deep customization to the wp-login.php page: the plugin i linked allows ...
-1
votes
0answers
12 views

Editing the Post meta

I am trying to add some content to the post-meta. I have added two link to the loop and it's been showing in the post as the single page is calling it. However I can't seem to find where to add the ...
0
votes
1answer
11 views

Allow arbitrary text after page URL

I'm trying to add a page that is able to display different information from a database based on the URL. http://example.com/page/ retrieves the page. I want ...
0
votes
0answers
19 views

Custom function to add a secondary logo

I'm looking to create a custom function in order to be able to change/load a new image from the "customize" panel (this because I won't be the one who manage the website, so I'm trying to made things ...
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 ...
0
votes
1answer
45 views

Unable to display custom fields on WooCommerce product pages

I've set up some custom fields using the existing 'custom fields' panel on a WooCommerce product page. I'm unable to display these on the front end. My technical knowledge is limited but I've tried ...
1
vote
1answer
29 views

How could I change my Permalink from blog to custom structure? [on hold]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0
votes
1answer
56 views

Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]

I have a child theme built ontop of the Cherry Framework theme. Whenever an admin user goes to wp-admin/customize.php and changes the slider, the CSS gets completely destroyed and needs to be backed ...
0
votes
0answers
7 views

Replacing Gallery Shortcode with Foundation's Clearing

Using wordpress 4.1 and Foundation 5, and attempting to replace the stock gallery shortcode with foundation's clearing. In debugging mode, I get a notice of: Strict Standards: ...
0
votes
0answers
14 views

update_user_meta not working

I'm trying to add additional profile pages and then allow users to submit custom profile data through the pages. I want this data to be unique to each user and only viewable by that user. The code is ...
0
votes
0answers
13 views

Removing the parent category from the breadcrumb nav [closed]

Does anyone know of a way (plugin or filter) that I can use to remove a category from the WP breadcrumb trail? I have this appearance... Home > Manufacturer > MyStuffInc > Product_Title I want to ...
0
votes
0answers
26 views

Override A Plugin Variable And Function Via Functions.php

Is it possible to override a variable in a plugin function without altering the plugin? The closest thread I found to answer this problem is this one : Pass A Value From Outside To A Plugin Variable ...
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
1answer
28 views

Custom theme - how to link the image without posting it

im creating a custom theme for wordpress 4.1.1. i had encounter a problem with adding a media (an image) to a post. When I choose an image via the media library, i select it but i only have the ...
-1
votes
0answers
28 views

combining responsive slab text with animated headline

is there any possibility to combine these two shortcodes in order to obtain a responsive auto fit text with animated properties in the same time ? How about to define custom googlefonts (font family, ...
-1
votes
0answers
13 views

Proper placement for Wordpress conditionals(they return false) [duplicate]

I use a headway template, and have tried to place conditional tags inside footer.php, in order to display a code only in home page, but the code is not working how I want. Normally, the code ...
0
votes
0answers
15 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
1
vote
1answer
29 views

User can not login

I successfully inserted a new user to WP database and I want this user to be logged in right after this. I do it like this User Login Form <?php function dlf_form() { ?> <form ...
0
votes
0answers
19 views

Theme for a specific subcategory inside multiple categories

In relation with this topic in which I wanted a different theme for categories than for subcategories, now one step further, I want a specific theme for a specific subcategory used in multiple ...
3
votes
1answer
50 views

Virtual Pages plugins

I having hard time to make work the plugin Virtual Pages (WordPress plugin to ease the creation of virtual pages) I did have edit to create a loop based on a query. add_action( 'gm_virtual_pages', ...
0
votes
2answers
14 views

Theme for subcategories

I am working with categories (cities) and subcategories with the same menu (for example: cars, animals, houses). Therefore right now my categories structure looks like this: - London -- cars -- ...
0
votes
1answer
32 views

Disable default posts (Posts,Pages,Comments and Media) in wp-admin

I want to disable the default post types for user author in the wp-admin panel of the wordpress and display only custom post types. For that i had got the code given below. function remove_menus(){ ...
0
votes
0answers
14 views

Customizer API and pages

I try to develop customizer API in my Theme but I have a litle problem. When I'm in customizer in left side I have some section (My Section) and there is color picker to change background color. After ...
1
vote
0answers
21 views

Allow non-admins to access the Customize theme page

I'm using a theme that has a very robust customizer and I want users other than an admin to be able to use the customizer so they can customize what their site looks like. The URL for the customizer ...
0
votes
1answer
28 views

How to load a mycred hook from a plugin?

I've created a hook for mycred following this tutorial. I added the code to the function.php, and I am now wondering how to call it from my plugin? I have no clue, and the tutorials that I've ...
0
votes
0answers
28 views

Move next post link in PHP

I'm in a bit of a bother, given that my understanding of PHP is at a beginner's level, so could you help me? The problem is that my WP theme prints the previous/next post links at the top of the ...
0
votes
0answers
29 views

Possible to make a site like urban dictionary using WP?

Wordpress is great for blogs and has a ton of plugins and customization potential, so I'm wondering if it could also be used to make a site very similar in functionality and scope to Urban Dictionary? ...
0
votes
0answers
14 views

How to print search results related categories hierarchical?

I'm trying to print search results related categories hierarchical in sidebar area. I did that but my code prints just terms without their parents. Here is my page. I want to print the terms like ...
1
vote
0answers
24 views

Add control in image detail panel

I am trying to add a checkbox control in the image details popup (when editing image in a post). I have added the following code in my template function.php but I can't manage to display the checkbox ...
2
votes
1answer
55 views

Add field to posts (checkbox) that only one post can have

I am trying to add a field to Wordpress posts (not pages) which would simply include a label and a checkbox. Something like: Make this the sticky post? If check, the key should be set to TRUE or ...
2
votes
1answer
14 views

How to provide a demonstration of Wordpress for new customers

I'm a website builder. I'd like to show potential customers the admin section of a Wordpress install. I'm comfortable setting up a separate install in a demo. sub-domain, but I don't know how to go ...
0
votes
0answers
26 views

PHP call div with function

I might be showing my green-ness with PHP code here, but I need help. I've got divs that are all styled the same but have differing content, as they are related product snippets to be displayed on a ...
0
votes
1answer
35 views

How to merge all my pages into one, while keeping a menu bar?

I have currently a website with a basic organisation : 5 different pages ("About us", "projects" ...etc.) with a typical menu bar. I would now like to have all the pages into a single one. 1) How can ...
0
votes
1answer
28 views

toggle Multiple Loop with tittle

I need some help I want to list all post from a meta_key, order by meta_value in ASC order All this in 1 toogle jquery. I've this: <div id="box-temp" class="gray-shadow"> <!-- First Loop ...
0
votes
0answers
13 views

Custom User Authentication using Meta Data

I have inserted two custom fields called user_login_status and activation_code in wp_usermeta table. My code on login page function dlf_auth( $username, $password ) { global $user; ...
-1
votes
1answer
34 views

Wordpress equivalent to Drupal Views? [closed]

Is there a Wordpress plugin that provides a subset of the functionality found in Drupal Views? Specifically, I'm looking for the ability to use a Views-like plugin to pull in fields of content based ...
0
votes
2answers
33 views

insert autofocus in a custom taxonomy form

I've created a custom taxonomy and added it to the admin menu. It works fine but I'd like to tweak it a little so that the input autofocus goes to the "name" field as soon as I select to add a new ...
0
votes
0answers
21 views

Advanced Field Repeater Pagination with Custom Post

I am using a custom post type as well as advanced custom fields with a repeater. I need to somehow loop through all the repeater subfields and paginate them to 6 items per page. I have tried a few ...