asked 11 years ago

I am using the simplex theme, setup with the demo pages. When I view a project page, I cannot see where video is added, how to insert it. There are custom fields for images and the url but how do you add video?

2 Answers
answered 11 years ago

there is a bug I guess, it should get fixed. I changed the “Display Single Project as” to images and saved. then I changed it to “video” and I could paste a url for “video” but when the page is saved it shows a place to upload more images so there is not a place to paste the url for videos unless I go through the same process of choosing images and saving…

answered 11 years ago

Hi GeoMarketingDigital.com,

You can find out that text in yoursite/wp-content/themes/dw-focus/assets/js/custom.js inline 109:

$('div.navigation a').addClass('disabled').text('No More News');

Please help us change this to

$('div.navigation a').addClass('disabled').text( dw_focus.endless_content_message );

And go to yoursite/wp-content/themes/dw-focus/functions.php add this code below line 189 ( please don’t forget end prev line with a comma ) :

'endless_content_message' => __('No More News','dw_focus')

It will become like this:

+188    wp_localize_script('dw_focus', 'dw_focus', array(
+189        'ajax_url' => admin_url('admin-ajax.php'),
+190        'endless_content_message' => __('No More News','dw_focus')
+191    ) );


Powered by DW Question & Answer Pro